summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-08-14 18:36:19 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-08-17 18:26:39 +0200
commita0d274d22892d41f9215149548f5543473bfcfea (patch)
tree911873ce479c13424d5bdc7ae52b443b216aa321 /libavfilter
parente54e30c88940fc090409cc60df4e452af6ef178d (diff)
sink_buffer: require AV_PERM_PRESERVE.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/sink_buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/sink_buffer.c b/libavfilter/sink_buffer.c
index f7b16db50a..95ba590d4a 100644
--- a/libavfilter/sink_buffer.c
+++ b/libavfilter/sink_buffer.c
@@ -230,7 +230,7 @@ AVFilter avfilter_vsink_buffersink = {
.inputs = (const AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.end_frame = end_frame,
- .min_perms = AV_PERM_READ, },
+ .min_perms = AV_PERM_READ | AV_PERM_PRESERVE, },
{ .name = NULL }},
.outputs = (const AVFilterPad[]) {{ .name = NULL }},
};
@@ -310,7 +310,7 @@ AVFilter avfilter_asink_abuffersink = {
.inputs = (const AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_AUDIO,
.filter_samples = filter_samples,
- .min_perms = AV_PERM_READ, },
+ .min_perms = AV_PERM_READ | AV_PERM_PRESERVE, },
{ .name = NULL }},
.outputs = (const AVFilterPad[]) {{ .name = NULL }},
};