[Mplayer-cvslog] CVS: main/libmpdemux demux_rtp.cpp,1.13,1.14

Ross Finlayson CVS rsf at mplayerhq.hu
Wed Apr 2 03:38:32 CEST 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv15997

Modified Files:
	demux_rtp.cpp 
Log Message:
Added some optional debugging printfs (disabled by default)


Index: demux_rtp.cpp
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_rtp.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- demux_rtp.cpp	11 Mar 2003 19:08:31 -0000	1.13
+++ demux_rtp.cpp	2 Apr 2003 01:38:07 -0000	1.14
@@ -253,6 +253,11 @@
       break;
     }
     
+#ifdef DEBUG_PRINT_DISCARDED_PACKETS
+    RTPState* rtpState = (RTPState*)(demuxer->priv);
+    ReadBufferQueue* bufferQueue = ds == demuxer->video ? rtpState->videoBufferQueue : rtpState->audioBufferQueue;
+    fprintf(stderr, "Discarding %s packet (%fs behind)\n", bufferQueue->tag(), ptsBehind);
+#endif
     free_demux_packet(dp); // give back this packet, and get another one
   }
 



More information about the MPlayer-cvslog mailing list