From 825481e87baade74e91067d0ffdc5bbfcbfad2d3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 11 Nov 2011 17:06:07 +0100 Subject: [PATCH] yadif: reject reuse2 buffers as we cant use frames that change under our fingers. Signed-off-by: Michael Niedermayer --- libavfilter/vf_yadif.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index f4ddcaa24e..d4eed3015f 100644 --- a/libavfilter/vf_yadif.c +++ b/libavfilter/vf_yadif.c @@ -405,7 +405,8 @@ AVFilter avfilter_vf_yadif = { .start_frame = start_frame, .get_video_buffer = get_video_buffer, .draw_slice = null_draw_slice, - .end_frame = end_frame, }, + .end_frame = end_frame, + .rej_perms = AV_PERM_REUSE2, }, { .name = NULL}}, .outputs = (const AVFilterPad[]) {{ .name = "default",