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

Steve Lhomme robux4 at videolabs.io
Thu Mar 5 16:43:31 CET 2015


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. And decide if a cropping
filter is needing or not. Hardware decoding is likely to not work in
this case.



More information about the vlc-devel mailing list