[Mplayer-cvslog] CVS: main demux_mpg.c,1.20,1.21

GEREOFFY arpi_esp at users.sourceforge.net
Tue Jun 19 00:11:06 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv5982

Modified Files:
	demux_mpg.c 
Log Message:
packet 0x1B6 (mpeg4 stream) detection

Index: demux_mpg.c
===================================================================
RCS file: /cvsroot/mplayer/main/demux_mpg.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** demux_mpg.c	2001/06/03 23:37:20	1.20
--- demux_mpg.c	2001/06/18 22:11:04	1.21
***************
*** 250,253 ****
--- 250,254 ----
  int num_elementary_packets100=0;
  int num_elementary_packets101=0;
+ int num_elementary_packets1B6=0;
  
  int demux_mpg_es_fill_buffer(demuxer_t *demux){
***************
*** 311,320 ****
    } else {
      if(head>=0x100 && head<0x1B0){
!       if(head==0x100)
!         ++num_elementary_packets100;
!       else
!         if(head==0x101) ++num_elementary_packets101;
        if(verbose>=3) printf("Opps... elementary video packet found: %03X\n",head);
!     }
  #if 1
      if(num_elementary_packets100>50 && num_elementary_packets101>50
--- 312,320 ----
    } else {
      if(head>=0x100 && head<0x1B0){
!       if(head==0x100) ++num_elementary_packets100; else
!       if(head==0x101) ++num_elementary_packets101;
        if(verbose>=3) printf("Opps... elementary video packet found: %03X\n",head);
!     } else
!       if(head==0x1B6) ++num_elementary_packets1B6;
  #if 1
      if(num_elementary_packets100>50 && num_elementary_packets101>50


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list