[FFmpeg-cvslog] vf_fieldorder: require write permissions

Anton Khirnov git at videolan.org
Thu Nov 29 03:02:13 CET 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Nov 27 08:59:55 2012 +0100| [4c973de9a5b67615762cf99ec20a8a633e64c4b8] | committer: Anton Khirnov

vf_fieldorder: require write permissions

This filter modifies the input frame.

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

 libavfilter/vf_fieldorder.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_fieldorder.c b/libavfilter/vf_fieldorder.c
index e814785..5f0cc3b 100644
--- a/libavfilter/vf_fieldorder.c
+++ b/libavfilter/vf_fieldorder.c
@@ -184,7 +184,7 @@ static const AVFilterPad avfilter_vf_fieldorder_inputs[] = {
         .config_props     = config_input,
         .get_video_buffer = get_video_buffer,
         .filter_frame     = filter_frame,
-        .min_perms        = AV_PERM_READ,
+        .min_perms        = AV_PERM_READ | AV_PERM_WRITE,
         .rej_perms        = AV_PERM_REUSE2 | AV_PERM_PRESERVE,
     },
     { NULL }



More information about the ffmpeg-cvslog mailing list