<html><head></head><body>It's called "decoder device" because it's for the decoder.<br><br>And the decoder device does not have to come from a window. That's not how it's going to work for transcoding.<br><br><div class="gmail_quote">Le 19 septembre 2019 09:30:30 GMT+03:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On 2019-09-19 8:11, Steve Lhomme wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">On 2019-09-18 18:16, Rémi Denis-Courmont wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">Le keskiviikkona 18. syyskuuta 2019, 17.13.18 EEST Steve Lhomme a écrit :<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;">The decoder device ("dec-dev") should be tied to the lifecyle of the <br>window.<br></blockquote>Well, no. It's tied to an enabled window, which is longer than a vout, <br>but<br>shorter than a window.<br></blockquote>I can change it to:<br>The decoder device ("dec-dev") should be tied to the lifecyle of an <br>enabled window.<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">And AFAIK, the vout should not know about the decoder or decoder <br>device at<br>all. It should use the video context only.<br></blockquote>And how do you plan to convey this decoder device instance to the <br>decoder/filters without going through the vout ?<br></blockquote><br>For the record, the decoder device is created with a vout_window_t, <br>because in some cases (VAAPI for example) it needs to know about which <br>window is used. This vout_window_t is created and stored by the vout.<hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>