mpegvideoparser: Fix the pixel-aspect-ratio calculation
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Wed, 5 Jun 2013 13:16:36 +0000 (16:16 +0300)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 14 Jun 2013 08:16:05 +0000 (10:16 +0200)
commit8655187d0ef69dd737a20786dc57e73ac1dfc862
tree3c412e1a1b0f81abe237ef629808a64931138abe
parent21099dc660e4a2ea0331b8a296ba3338acf224c9
mpegvideoparser: Fix the pixel-aspect-ratio calculation

Ignore the display_extension values if they are greater than the width/height
values provided by seqhdr and calculate the PAR based on the seqhdr values.T
his is what DVD players are doing.

Thanks to "David Schleef <ds@schleef.org>"

https://bugzilla.gnome.org/show_bug.cgi?id=685103
gst-libs/gst/codecparsers/gstmpegvideoparser.c