changeset 34632:e0c6b271d55b

Do not parse the extended aspect info into the fields used for video size. This resulted in -identify showing the aspect settings as video width/height. Since aspect is ignored in general (i.e. also when a preset aspect is encoded) this should not break anything.
author reimar
date Mon, 13 Feb 2012 20:52:59 +0000
parents fde6f34c5eb0
children 7a633f403051
files libmpdemux/mpeg_hdr.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/mpeg_hdr.c	Mon Feb 13 19:36:01 2012 +0000
+++ b/libmpdemux/mpeg_hdr.c	Mon Feb 13 20:52:59 2012 +0000
@@ -325,10 +325,8 @@
     n += 8;
     if(picture->aspect_ratio_information == 255)
     {
-      picture->display_picture_width = (getbits(buf, n, 8) << 8) | getbits(buf, n + 8, 8);
+      // aspect numerator and denominator
       n += 16;
-
-      picture->display_picture_height = (getbits(buf, n, 8) << 8) | getbits(buf, n + 8, 8);
       n += 16;
     }
   }