mirror of https://github.com/mpv-player/mpv
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:
parent
b753d80209
commit
4d0be09a5d
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue