Once the frame queue is full, we will wait anyway.
Signed-off-by: Marton Balint <cus@passwd.hu>
#endif
for (;;) {
- while (is->paused && !is->videoq.abort_request)
- SDL_Delay(10);
-
ret = get_video_frame(is, frame);
if (ret < 0)
goto the_end;
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;