[vlc-devel] [PATCH] vout: create/release the decoder device when the window is enabled/disabled

Rémi Denis-Courmont remi at remlab.net
Thu Sep 19 08:40:24 CEST 2019


It's called "decoder device" because it's for the decoder.

And the decoder device does not have to come from a window. That's not how it's going to work for transcoding.

Le 19 septembre 2019 09:30:30 GMT+03:00, Steve Lhomme <robux4 at ycbcr.xyz> a écrit :
>On 2019-09-19 8:11, Steve Lhomme wrote:
>> On 2019-09-18 18:16, Rémi Denis-Courmont wrote:
>>> Le keskiviikkona 18. syyskuuta 2019, 17.13.18 EEST Steve Lhomme a
>écrit :
>>>> The decoder device ("dec-dev") should be tied to the lifecyle of
>the 
>>>> window.
>>>
>>> Well, no. It's tied to an enabled window, which is longer than a
>vout, 
>>> but
>>> shorter than a window.
>> 
>> I can change it to:
>> The decoder device ("dec-dev") should be tied to the lifecyle of an 
>> enabled window.
>> 
>>> And AFAIK, the vout should not know about the decoder or decoder 
>>> device at
>>> all. It should use the video context only.
>> 
>> And how do you plan to convey this decoder device instance to the 
>> decoder/filters without going through the vout ?
>
>For the record, the decoder device is created with a vout_window_t, 
>because in some cases (VAAPI for example) it needs to know about which 
>window is used. This vout_window_t is created and stored by the vout.
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190919/34f94e21/attachment.html>


More information about the vlc-devel mailing list