[vlc-devel] [PATCH 01/11] decoder: use an object to create the decoder device

Steve Lhomme robux4 at ycbcr.xyz
Thu Nov 14 07:44:34 CET 2019


On 2019-11-13 18:07, Rémi Denis-Courmont wrote:
> Le keskiviikkona 13. marraskuuta 2019, 14.24.59 EET Steve Lhomme a écrit :
>> On 2019-11-13 12:14, Rémi Denis-Courmont wrote:
>>> That won't work. Encoders cannot just use the default decoder device.
>>> Typically, they can only use device of a single given type. That's
>>> exactly the problem.
>>
>> Just like *every* other decoder device user, the encoder has to check
>> the "dec_device->type" matches what it can handle or fallback to
>> software (or refuse encoding).
> 
> And *that* breaks the existing and expected usage pattern of the venc flag.

I do not understand what you're talking about. Can you give an example 
of what it would break ?


More information about the vlc-devel mailing list