Mercurial > mplayer.hg
diff libmpdemux/demux_mpg.c @ 9069:0d2b25a821c9
raw mpeg4-es support (you need to set -fps manually!)
author | arpi |
---|---|
date | Thu, 23 Jan 2003 02:12:15 +0000 |
parents | 772d6d27fd66 |
children | 39b68c2664ec |
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c Thu Jan 23 01:16:49 2003 +0000 +++ b/libmpdemux/demux_mpg.c Thu Jan 23 02:12:15 2003 +0000 @@ -247,6 +247,7 @@ int num_elementary_packets100=0; int num_elementary_packets101=0; +int num_elementary_packets12x=0; int num_elementary_packets1B6=0; int num_elementary_packetsPES=0; int num_mp3audio_packets=0; @@ -314,7 +315,8 @@ } else { if(head>=0x100 && head<0x1B0){ if(head==0x100) ++num_elementary_packets100; else - if(head==0x101) ++num_elementary_packets101; + if(head==0x101) ++num_elementary_packets101; else + if(head>=0x120 && head<=0x12F) ++num_elementary_packets12x; mp_msg(MSGT_DEMUX,MSGL_DBG3,"Opps... elementary video packet found: %03X\n",head); } else if((head>=0x1C0 && head<0x1F0) || head==0x1BD){