diff options
-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); } |