mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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. Originally committed as revision 16687 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6f2009bf45
commit
2f64239338
6
ffplay.c
6
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);
|
||||
|
Loading…
Reference in New Issue
Block a user