]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Remove detection of mmsh protocol in ffplay.
authoraurel <aurel@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 19 Jan 2009 21:39:07 +0000 (21:39 +0000)
committeraurel <aurel@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 19 Jan 2009 21:39:07 +0000 (21:39 +0000)
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

ffplay.c

index 88e6b1a14333a49e1f46dd01a37585856f75f1ba..877c9f6e438723330d5eb0544566b77ccf73f4a7 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -2019,10 +2019,8 @@ static int decode_thread(void *arg)
             else
                 av_read_play(ic);
         }
-#if CONFIG_RTSP_DEMUXER || CONFIG_MMSH_PROTOCOL
-        if (is->paused &&
-                (!strcmp(ic->iformat->name, "rtsp") ||
-                 (ic->pb && !strcmp(url_fileno(ic->pb)->prot->name, "mmsh")))) {
+#if CONFIG_RTSP_DEMUXER
+        if (is->paused && !strcmp(ic->iformat->name, "rtsp")) {
             /* wait 10 ms to avoid trying to get another packet */
             /* XXX: horrible */
             SDL_Delay(10);