summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/video_decoder.c')
-rw-r--r--src/xine-engine/video_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c
index ed2e41ef3..c548d12ef 100644
--- a/src/xine-engine/video_decoder.c
+++ b/src/xine-engine/video_decoder.c
@@ -92,7 +92,7 @@ int _x_spu_decoder_sleep(xine_stream_t *stream, int64_t next_spu_vpts)
thread_vacant = (stream->video_fifo->first->type != BUF_CONTROL_FLUSH_DECODER);
/* we have to return if the demuxer needs us to release a buffer */
if (thread_vacant)
- thread_vacant = !stream->demux_action_pending;
+ thread_vacant = !_x_action_pending(stream);
} while (wait == SPU_SLEEP_INTERVAL && thread_vacant);