changeset 4735:21eca91fece7

ehh, i forgot to commit this...
author arpi
date Sun, 17 Feb 2002 02:11:14 +0000
parents cc375edb5eda
children 57f053d75893
files libmpdemux/demuxer.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Sun Feb 17 02:01:45 2002 +0000
+++ b/libmpdemux/demuxer.c	Sun Feb 17 02:11:14 2002 +0000
@@ -373,6 +373,7 @@
 extern int num_elementary_packets101;
 extern int num_elementary_packetsPES;
 extern int num_elementary_packets1B6;
+extern int num_mp3audio_packets;
 
 // commandline options, flags:
 //extern int seek_to_byte;
@@ -566,6 +567,7 @@
   num_elementary_packets101=0;
   num_elementary_packets1B6=0;
   num_elementary_packetsPES=0;
+  num_mp3audio_packets=0;
 
   if(ds_fill_buffer(demuxer->video)){
     if(!pes)
@@ -574,8 +576,8 @@
       mp_msg(MSGT_DEMUXER,MSGL_INFO,MSGTR_DetectedMPEGPSfile);
     file_format=DEMUXER_TYPE_MPEG_PS;
   } else {
-    printf("MPEG packet stats: p100: %d  p101: %d  PES: %d \n",
-	num_elementary_packets100,num_elementary_packets101,num_elementary_packetsPES);
+    printf("MPEG packet stats: p100: %d  p101: %d  PES: %d  MP3: %d \n",
+	num_elementary_packets100,num_elementary_packets101,num_elementary_packetsPES,num_mp3audio_packets);
     // some hack to get meaningfull error messages to our unhappy users:
     if(num_elementary_packets100>=2 && num_elementary_packets101>=2 &&
        abs(num_elementary_packets101+8-num_elementary_packets100)<16){