summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-08-14 18:49:17 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-08-17 18:26:42 +0200
commit469d07a0e41718bf3b7393badb958434cf3eaead (patch)
tree6673ee45c2e5f1c8b5edd313d750ff2f85e1538b /libavfilter
parentf6647d8825c78b1006b056d2e168c21e3109f646 (diff)
vf_select: require AV_PERM_PRESERVE.
This is only necessary because of the poll_frame implementation. Removing it altogether would be another solution.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_select.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_select.c b/libavfilter/vf_select.c
index db1b038069..d47876bbba 100644
--- a/libavfilter/vf_select.c
+++ b/libavfilter/vf_select.c
@@ -416,6 +416,7 @@ AVFilter avfilter_vf_select = {
.inputs = (const AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.get_video_buffer = ff_null_get_video_buffer,
+ .min_perms = AV_PERM_PRESERVE,
.config_props = config_input,
.start_frame = start_frame,
.draw_slice = draw_slice,