changeset 11833:aa8807bd062d

fix aspect 4 according to the standart
author iive
date Fri, 23 Jan 2004 01:10:14 +0000
parents b9b330154ae1
children 6a25f1b5cc70
files libmpdemux/video.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/video.c	Thu Jan 22 21:43:36 2004 +0000
+++ b/libmpdemux/video.c	Fri Jan 23 01:10:14 2004 +0000
@@ -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;