From 288ed66a355ed9a0e9a5730f87c2fb60e8e546cc Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Thu, 15 Feb 2018 19:56:52 -0800 Subject: video: rename VO_CAP_NOREDRAW to VO_CAP_NORETAIN --- video/out/vo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/out/vo.c') diff --git a/video/out/vo.c b/video/out/vo.c index b2aba3af7a..6586ebc63e 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -891,7 +891,7 @@ bool vo_render_frame_external(struct vo *vo) update_vsync_timing_after_swap(vo); } - if (vo->driver->caps & VO_CAP_NOREDRAW) { + if (vo->driver->caps & VO_CAP_NORETAIN) { talloc_free(in->current_frame); in->current_frame = NULL; } @@ -919,7 +919,7 @@ static void do_redraw(struct vo *vo) { struct vo_internal *in = vo->in; - if (!vo->config_ok || (vo->driver->caps & VO_CAP_NOREDRAW)) + if (!vo->config_ok || (vo->driver->caps & VO_CAP_NORETAIN)) return; pthread_mutex_lock(&in->lock); -- cgit v1.2.3