Commit b481fb65 authored by aurel's avatar aurel

Remove detection of mmsh protocol in ffplay.

This is useless as long as mmsh is not implemented in libavformat.
This is a revert of r10936.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16687 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c5553ce6
...@@ -2019,10 +2019,8 @@ static int decode_thread(void *arg) ...@@ -2019,10 +2019,8 @@ static int decode_thread(void *arg)
else else
av_read_play(ic); av_read_play(ic);
} }
#if CONFIG_RTSP_DEMUXER || CONFIG_MMSH_PROTOCOL #if CONFIG_RTSP_DEMUXER
if (is->paused && if (is->paused && !strcmp(ic->iformat->name, "rtsp")) {
(!strcmp(ic->iformat->name, "rtsp") ||
(ic->pb && !strcmp(url_fileno(ic->pb)->prot->name, "mmsh")))) {
/* wait 10 ms to avoid trying to get another packet */ /* wait 10 ms to avoid trying to get another packet */
/* XXX: horrible */ /* XXX: horrible */
SDL_Delay(10); SDL_Delay(10);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment