[Mplayer-cvslog] CVS: main/libmpdemux demux_rtp.cpp,1.17,1.18

Ross Finlayson CVS rsf at mplayerhq.hu
Sun Jul 27 12:15:14 CEST 2003


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

Modified Files:
	demux_rtp.cpp 
Log Message:
Added support for checking whether a RTP demuxer contains combined audio_video data.


Index: demux_rtp.cpp
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_rtp.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- demux_rtp.cpp	3 May 2003 06:13:11 -0000	1.17
+++ demux_rtp.cpp	27 Jul 2003 10:15:10 -0000	1.18
@@ -263,6 +263,13 @@
   return (rtpState->flags&RTPSTATE_IS_MPEG12_VIDEO) != 0;
 }
 
+extern "C" int demux_is_multiplexed_rtp_stream(demuxer_t* demuxer) {
+  // Get the RTP state that was stored in the demuxer's 'priv' field:
+  RTPState* rtpState = (RTPState*)(demuxer->priv);
+
+  return (rtpState->flags&RTPSTATE_IS_MULTIPLEXED) != 0;
+}
+
 static demux_packet_t* getBuffer(demuxer_t* demuxer, demux_stream_t* ds,
 				 Boolean mustGetNewData,
 				 float& ptsBehind); // forward



More information about the MPlayer-cvslog mailing list