mirror of https://git.ffmpeg.org/ffmpeg.git
properly check for CONFIG_RTSP_DEMUXER
Originally committed as revision 8836 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
cfc970772d
commit
9825d074b4
2
ffplay.c
2
ffplay.c
|
@ -2003,6 +2003,8 @@ static int decode_thread(void *arg)
|
||||||
else
|
else
|
||||||
av_read_play(ic);
|
av_read_play(ic);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef CONFIG_RTSP_DEMUXER
|
||||||
if (is->paused && ic->iformat == &rtsp_demuxer) {
|
if (is->paused && ic->iformat == &rtsp_demuxer) {
|
||||||
/* wait 10 ms to avoid trying to get another packet */
|
/* wait 10 ms to avoid trying to get another packet */
|
||||||
/* XXX: horrible */
|
/* XXX: horrible */
|
||||||
|
|
Loading…
Reference in New Issue