[Mplayer-cvslog] CVS: main dec_video.c,1.19,1.20

Arpi of Ize arpi at mplayer.dev.hu
Wed Aug 8 15:38:11 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv31366

Modified Files:
	dec_video.c 
Log Message:
mpeg2 fourcc changed

Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_video.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- dec_video.c	8 Aug 2001 13:34:08 -0000	1.19
+++ dec_video.c	8 Aug 2001 13:38:08 -0000	1.20
@@ -570,7 +570,6 @@
    }
    if(verbose) printf("OK!\n");
 //   sh_video=d_video->sh;sh_video->ds=d_video;
-   sh_video->format=0x10000001; // mpeg video
    mpeg2_init();
    // ========= Read & process sequence header & extension ============
    videobuffer=shmem_alloc(VIDEOBUFFER_SIZE);
@@ -610,6 +609,7 @@
     }
    }
    // display info:
+   sh_video->format=picture->mpeg1?0x10000001:0x10000002; // mpeg video
    sh_video->fps=frameratecode2framerate[picture->frame_rate_code]*0.0001f;
    if(!sh_video->fps){
 //     if(!force_fps){




More information about the MPlayer-cvslog mailing list