[Mplayer-cvslog] CVS: main/libmpdemux video.c,1.44,1.45

Ivan Kalvachev CVS iive at mplayerhq.hu
Fri Jan 23 02:10:17 CET 2004


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/tmp/cvs-serv24305

Modified Files:
	video.c 
Log Message:
fix aspect 4 according to the standart

Index: video.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/video.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- video.c	4 Nov 2003 19:28:32 -0000	1.44
+++ video.c	23 Jan 2004 01:10:14 -0000	1.45
@@ -229,7 +229,6 @@
    // fill aspect info:
    switch(picture.aspect_ratio_information){
      case 2:  // PAL/NTSC SVCD/DVD 4:3
-     case 4:  // SECAM 4:3? - XXX check with more files! 
      case 8:  // PAL VCD 4:3
      case 12: // NTSC VCD 4:3
        sh_video->aspect=4.0/3.0;
@@ -238,6 +237,9 @@
      case 6:  // (PAL?)/NTSC Widescreen SVCD 16:9
        sh_video->aspect=16.0/9.0;
      break;
+     case 4:  // according to ISO-138182-2 Table 6.3
+       sh_video->aspect=2.21;
+       break;
      case 9: // Movie Type ??? / 640x480
        sh_video->aspect=0.0;
      break;




More information about the MPlayer-cvslog mailing list