[Mplayer-cvslog] CVS: main/libmpdemux demux_rtp.cpp,1.23,1.24
Ross Finlayson CVS
syncmail at mplayerhq.hu
Wed Jun 2 08:48:27 CEST 2004
CVS change done by Ross Finlayson CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv31560
Modified Files:
demux_rtp.cpp
Log Message:
Added "audio_id", "video_id", "dvdsub_id" to the call to "demux_open()".
(Thanks to Nico Sabbi for suggesting this.)
Index: demux_rtp.cpp
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_rtp.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- demux_rtp.cpp 19 Mar 2004 10:15:41 -0000 1.23
+++ demux_rtp.cpp 2 Jun 2004 06:48:25 -0000 1.24
@@ -119,6 +119,7 @@
int rtspStreamOverTCP = 0;
+extern "C" int audio_id, video_id, dvdsub_id;
extern "C" demuxer_t* demux_open_rtp(demuxer_t* demuxer) {
Boolean success = False;
do {
@@ -263,7 +264,8 @@
// code to recognize this:
if (demux_is_multiplexed_rtp_stream(demuxer)) {
stream_t* s = new_ds_stream(demuxer->video);
- demuxer_t* od = demux_open(s, DEMUXER_TYPE_UNKNOWN, -1, -1, -1, NULL);
+ demuxer_t* od = demux_open(s, DEMUXER_TYPE_UNKNOWN,
+ audio_id, video_id, dvdsub_id, NULL);
demuxer = new_demuxers_demuxer(od, od, od);
}
More information about the MPlayer-cvslog
mailing list