|
|
|
@@ -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); |
|
|
|
|