diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-11 17:06:07 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-11 17:06:07 +0100 |
commit | 825481e87baade74e91067d0ffdc5bbfcbfad2d3 (patch) | |
tree | dee8f51798cd822e11fa273d67a25c1eb052f5f1 /libavfilter/vf_yadif.c | |
parent | 89d7f9266189bed4b41ad9d66289174355ef759e (diff) | |
download | ffmpeg-825481e87baade74e91067d0ffdc5bbfcbfad2d3.tar.gz |
yadif: reject reuse2 buffers as we cant use frames that change under our
fingers.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_yadif.c')
-rw-r--r-- | libavfilter/vf_yadif.c | 3 |
1 files changed, 2 insertions, 1 deletions
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", |