mpegvideoparser: Fix the pixel-aspect-ratio calculation
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Wed, 5 Jun 2013 13:16:36 +0000 (16:16 +0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 6 Jun 2013 12:32:45 +0000 (14:32 +0200)
commit0a496f4167490a048c8dcde4f2f8999621592a5b
tree1748cd71a5051ad156bbf5e13fb45e2251940375
parentbdb4de3a6dab378246e0668a72ac09e2bae8730b
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