mirror of https://github.com/mpv-player/mpv
Make sure we have an rtsp session
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25518 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e91fc44d4c
commit
cb0b8fa5ff
|
@ -190,6 +190,9 @@ static demuxer_t* demux_open_rtp(demuxer_t* demuxer)
|
|||
return demuxer;
|
||||
}
|
||||
|
||||
if (!ctl->rtsp_queue)
|
||||
return demuxer;
|
||||
|
||||
media = ctl->rtsp_queue->media_queue;
|
||||
for (; media; media=media->next) {
|
||||
sdp_medium_info * info = media->medium_info;
|
||||
|
|
Loading…
Reference in New Issue