GNOME Bugzilla – Bug 683858
codecparsers: vc1: fix aspect ratio calculation
Last modified: 2012-09-12 09:47:43 UTC
Created attachment 224083 [details] [review] codecparsers: vc1: fix aspect ratio calculation Hi, ASPECT_HORIZ_SIZE and ASPECT_VERT_SIZE are syntax elements that hold binary encodings of sizes ranging from 1 to 256. Thus, the calculated pixel-aspect-ratio was off by one. Fix is in attachment. I would also like to backport that to the 0.10 branch, should this interest anyone there.
commit 0b2dd2e72366f10d30581bf3758a640fb5e186ed Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Date: Wed Sep 12 11:08:25 2012 +0200 codecparsers: vc1: fix aspect ratio calculation. ASPECT_HORIZ_SIZE and ASPECT_VERT_SIZE are syntax elements that hold binary encodings of sizes ranging from 1 to 256. Thus, the calculated pixel-aspect-ratio was off by one. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=683858
Comment on attachment 224083 [details] [review] codecparsers: vc1: fix aspect ratio calculation Also pushed to 0.10 branch.