[FFmpeg-cvslog] yadif: reject reuse2 buffers as we cant use frames that change under our

Michael Niedermayer git at videolan.org
Fri Nov 11 18:34:50 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Nov 11 17:06:07 2011 +0100| [825481e87baade74e91067d0ffdc5bbfcbfad2d3] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=825481e87baade74e91067d0ffdc5bbfcbfad2d3
---

 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 f4ddcaa..d4eed30 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",



More information about the ffmpeg-cvslog mailing list