Mercurial > mplayer.hg
comparison mplayer.c @ 894:11bcf34c0a3e
mpeg fourcc changed
author | arpi_esp |
---|---|
date | Sun, 27 May 2001 21:18:54 +0000 |
parents | bad858a47870 |
children | 8eca9b7aafae |
comparison
equal
deleted
inserted
replaced
893:2d6bfc0cdb84 | 894:11bcf34c0a3e |
---|---|
1005 exit(1); | 1005 exit(1); |
1006 } | 1006 } |
1007 } | 1007 } |
1008 if(verbose) printf("OK!\n"); | 1008 if(verbose) printf("OK!\n"); |
1009 sh_video=d_video->sh;sh_video->ds=d_video; | 1009 sh_video=d_video->sh;sh_video->ds=d_video; |
1010 sh_video->format=1; // mpeg video | 1010 sh_video->format=0x10000001; // mpeg video |
1011 mpeg2_init(); | 1011 mpeg2_init(); |
1012 // ========= Read & process sequence header & extension ============ | 1012 // ========= Read & process sequence header & extension ============ |
1013 videobuffer=shmem_alloc(VIDEOBUFFER_SIZE); | 1013 videobuffer=shmem_alloc(VIDEOBUFFER_SIZE); |
1014 if(!videobuffer){ | 1014 if(!videobuffer){ |
1015 printf("Cannot allocate shared memory\n"); | 1015 printf("Cannot allocate shared memory\n"); |