diff options
author | rsf <rsf@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-06-02 06:48:25 +0000 |
---|---|---|
committer | rsf <rsf@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-06-02 06:48:25 +0000 |
commit | 4d0be09a5d541df27a0eb6a2c1a02a78d84a8bd8 (patch) | |
tree | feb617d2b991a3a412763ad8bbac7e7c0b876feb | |
parent | b753d8020908ea802282bef9069805f79d326605 (diff) |
Added "audio_id", "video_id", "dvdsub_id" to the call to "demux_open()".
(Thanks to Nico Sabbi for suggesting this.)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12522 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/demux_rtp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmpdemux/demux_rtp.cpp b/libmpdemux/demux_rtp.cpp index 724f9c1be9..5a0c8a32be 100644 --- a/libmpdemux/demux_rtp.cpp +++ b/libmpdemux/demux_rtp.cpp @@ -119,6 +119,7 @@ static char* openURL_sip(SIPClient* client, char const* url) { 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 @@ extern "C" demuxer_t* demux_open_rtp(demuxer_t* demuxer) { // 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); } |