Once the frame queue is full, we will wait anyway. Signed-off-by: Marton Balint <c...@passwd.hu> --- ffplay.c | 7 ------- 1 file changed, 7 deletions(-)
diff --git a/ffplay.c b/ffplay.c index 37983e9..960fdc8 100644 --- a/ffplay.c +++ b/ffplay.c @@ -2122,9 +2122,6 @@ static int video_thread(void *arg) #endif for (;;) { - while (is->paused && !is->videoq.abort_request) - SDL_Delay(10); - ret = get_video_frame(is, frame); if (ret < 0) goto the_end; @@ -2211,10 +2208,6 @@ static int subtitle_thread(void *arg) int r, g, b, y, u, v, a; for (;;) { - while (is->paused && !is->subtitleq.abort_request) { - SDL_Delay(10); - } - if (!(sp = frame_queue_peek_writable(&is->subpq))) return 0; -- 1.8.4.5 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel