diff dec_video.c @ 1463:d377ea93892d

mpeg2 fourcc changed
author arpi
date Wed, 08 Aug 2001 13:38:16 +0000
parents a776747517c0
children 194c2f643d2c
line wrap: on
line diff
--- a/dec_video.c	Wed Aug 08 13:34:08 2001 +0000
+++ b/dec_video.c	Wed Aug 08 13:38:16 2001 +0000
@@ -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){