summaryrefslogtreecommitdiff
path: root/libavfilter/vf_thumbnail.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-08-14 18:49:58 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-08-17 18:26:42 +0200
commitd37f823207a88858d9545071032171caba0a32f5 (patch)
tree9d0c4b43520b50e6009a27766f503e278a1b4929 /libavfilter/vf_thumbnail.c
parent469d07a0e41718bf3b7393badb958434cf3eaead (diff)
vf_thumbnail: fix permissions.
Diffstat (limited to 'libavfilter/vf_thumbnail.c')
-rw-r--r--libavfilter/vf_thumbnail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_thumbnail.c b/libavfilter/vf_thumbnail.c
index 8e73de920f..67ffc5168a 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 }
},
};