summaryrefslogtreecommitdiffstats
path: root/libmpdemux/video.c
diff options
context:
space:
mode:
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-01-23 01:10:14 +0000
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-01-23 01:10:14 +0000
commita978ec72896d5faf594e69de1da10171eca2818f (patch)
treec42a947ea14afd530f0207bbc1fa145cee6f053f /libmpdemux/video.c
parentd845592653ec336835dad430674feabafdf0b65f (diff)
downloadmpv-a978ec72896d5faf594e69de1da10171eca2818f.tar.bz2
mpv-a978ec72896d5faf594e69de1da10171eca2818f.tar.xz
fix aspect 4 according to the standart
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11834 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/video.c')
-rw-r--r--libmpdemux/video.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmpdemux/video.c b/libmpdemux/video.c
index 6981684c08..add84303ba 100644
--- a/libmpdemux/video.c
+++ b/libmpdemux/video.c
@@ -229,7 +229,6 @@ switch(d_video->demuxer->file_format){
// 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 @@ switch(d_video->demuxer->file_format){
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;