You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Revert "Remove detection of mmsh protocol in ffplay."
This reverts commit 2f64239338
.
This commit is contained in:
6
ffplay.c
6
ffplay.c
@@ -2543,8 +2543,10 @@ static int read_thread(void *arg)
|
|||||||
else
|
else
|
||||||
av_read_play(ic);
|
av_read_play(ic);
|
||||||
}
|
}
|
||||||
#if CONFIG_RTSP_DEMUXER
|
#if CONFIG_RTSP_DEMUXER || CONFIG_MMSH_PROTOCOL
|
||||||
if (is->paused && !strcmp(ic->iformat->name, "rtsp")) {
|
if (is->paused &&
|
||||||
|
(!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);
|
||||||
|
Reference in New Issue
Block a user