Originally committed as revision 16687 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs authored on 2009/01/20 06:39:07... | ... |
@@ -2019,10 +2019,8 @@ static int decode_thread(void *arg) |
2019 | 2019 |
else |
2020 | 2020 |
av_read_play(ic); |
2021 | 2021 |
} |
2022 |
-#if CONFIG_RTSP_DEMUXER || CONFIG_MMSH_PROTOCOL |
|
2023 |
- if (is->paused && |
|
2024 |
- (!strcmp(ic->iformat->name, "rtsp") || |
|
2025 |
- (ic->pb && !strcmp(url_fileno(ic->pb)->prot->name, "mmsh")))) { |
|
2022 |
+#if CONFIG_RTSP_DEMUXER |
|
2023 |
+ if (is->paused && !strcmp(ic->iformat->name, "rtsp")) { |
|
2026 | 2024 |
/* wait 10 ms to avoid trying to get another packet */ |
2027 | 2025 |
/* XXX: horrible */ |
2028 | 2026 |
SDL_Delay(10); |