summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/video_out.c')
-rw-r--r--libvo/video_out.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index 679d111e6f..070a66c679 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -298,6 +298,11 @@ int vo_get_buffered_frame(struct vo *vo, bool eof)
return vo->frame_loaded ? 0 : -1;
}
+void vo_skip_frame(struct vo *vo)
+{
+ vo->frame_loaded = false;
+}
+
int vo_draw_frame(struct vo *vo, uint8_t *src[])
{
assert(!vo->driver->is_new);