[FFmpeg-cvslog] vf_thumbnail: fix permissions.

Nicolas George git at videolan.org
Fri Aug 17 18:44:18 CEST 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Tue Aug 14 18:49:58 2012 +0200| [d37f823207a88858d9545071032171caba0a32f5] | committer: Nicolas George

vf_thumbnail: fix permissions.

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

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

diff --git a/libavfilter/vf_thumbnail.c b/libavfilter/vf_thumbnail.c
index 8e73de9..67ffc51 100644
--- a/libavfilter/vf_thumbnail.c
+++ b/libavfilter/vf_thumbnail.c
@@ -230,6 +230,7 @@ AVFilter avfilter_vf_thumbnail = {
         {   .name             = "default",
             .type             = AVMEDIA_TYPE_VIDEO,
             .get_video_buffer = ff_null_get_video_buffer,
+            .min_perms        = AV_PERM_PRESERVE,
             .start_frame      = null_start_frame,
             .draw_slice       = draw_slice,
             .end_frame        = end_frame,
@@ -240,7 +241,6 @@ AVFilter avfilter_vf_thumbnail = {
             .type             = AVMEDIA_TYPE_VIDEO,
             .request_frame    = request_frame,
             .poll_frame       = poll_frame,
-            .rej_perms        = AV_PERM_REUSE2,
         },{ .name = NULL }
     },
 };



More information about the ffmpeg-cvslog mailing list