[vlc-devel] [PATCH] When the demuxer sets dimensions use them rather than the codec values

Rémi Denis-Courmont remi at remlab.net
Thu Mar 5 16:57:36 CET 2015


Le 2015-03-05 18:43, Steve Lhomme a écrit :
> On Thu, Mar 5, 2015 at 4:39 PM, Rémi Denis-Courmont <remi at remlab.net> 
> wrote:
>> Le 2015-03-05 18:33, Steve Lhomme a écrit :
>>>
>>> You mean the i_width/i_height rewriting ?
>>
>>
>> Mainly but not only. If the input and output resolutions differ, 
>> then the
>> mapping of input and output coordinates is not known. So the decoder 
>> core
>> cannot apply the demuxer crop. Only the decoder module can do the 
>> mapping.
>
>
> Hence my idea to carry over the extra dimension/cropping data over to
> the next stage, which is currently the vout.

That would have the exact same problem. And zero benefits.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list