[Libva] [PATCH] Parse aspect ratio when using GStreamer codec parsers

Gwenole Beauchesne gb.devel at gmail.com
Tue Sep 11 21:24:17 PDT 2012


Hi,

2012/9/10 Simon Farnsworth <simon.farnsworth at onelan.co.uk>:
> Not all encoded material uses square pixels. MPEG-4 part 2 already parsed
> the aspect ratio from the bitstream; add equivalent code for H.264, MPEG-2
> and VC-1.

Your patch looks good to me. I will propagate it to gst-plugins-bad
codecparsers (h264), if you don't mind. This will be useful to other
decoders as well. Though, VC-1 already has the required changes. Could
you please try to use GstVC1AdvancedSeqHdr.par_{n,d} instead?

Thanks,
Gwenole.


More information about the Libva mailing list