[MPlayer-cvslog] r34720 - trunk/libmpdemux/mpeg_hdr.c

reimar subversion at mplayerhq.hu
Mon Feb 13 21:52:59 CET 2012


Author: reimar
Date: Mon Feb 13 21:52:59 2012
New Revision: 34720

Log:
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.

Modified:
   trunk/libmpdemux/mpeg_hdr.c

Modified: trunk/libmpdemux/mpeg_hdr.c
==============================================================================
--- trunk/libmpdemux/mpeg_hdr.c	Mon Feb 13 20:36:01 2012	(r34719)
+++ trunk/libmpdemux/mpeg_hdr.c	Mon Feb 13 21:52:59 2012	(r34720)
@@ -325,10 +325,8 @@ static int h264_parse_vui(mp_mpeg_header
     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;
     }
   }


More information about the MPlayer-cvslog mailing list