[vlc-devel] [PATCH 06/31] decoder: let the decoder device know it's force created

Steve Lhomme robux4 at ycbcr.xyz
Wed Jul 10 12:45:17 CEST 2019


On 2019-07-09 16:24, Rémi Denis-Courmont wrote:
> Le maanantaina 8. heinäkuuta 2019, 9.57.50 EEST Steve Lhomme a écrit :
>> On 2019-07-06 17:01, Rémi Denis-Courmont wrote:
>>> Hi,
>>>
>>> That won't work properly if the "dec-dev" module list has more than one
>>> element. Using the force flag is rarely a good idea, if ever.
>> Do we want to set multiple possibilities to load a "dec-dev" ? Given it
>> kinda replaces avcodec-hw it doesn't seem to make sense to allow more
>> than one set by the user.
> 
> You can also set multiple entries in avcodec-hw... And if there are more than
> two choices, it even makes start making sense for the user to do so.
> 
> Which presumably happens when nvdec is implemented.

OK, it could be possible to favor 2 decoders and no other. In that case 
each module should be considered to be "forced" rather than 
automatically with a possible fallback if needed.


More information about the vlc-devel mailing list