yadif: reject reuse2 buffers as we cant use frames that change under our

fingers.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-11-11 17:06:07 +01:00
parent 89d7f92661
commit 825481e87b

View File

@ -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",