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
This commit is contained in:
rsf 2004-06-02 06:48:25 +00:00
parent b753d80209
commit 4d0be09a5d
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}