summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-10 02:32:35 +0100
committerClément Bœsch <ubitux@gmail.com>2013-03-10 02:38:21 +0100
commit96e4b00d62ac12bf16f40d00c1b36670503231a5 (patch)
tree16353d65048173fc243cd20f726eaf7b898b6178
parent806a66fd08a395486e763fb10588c5fd02e8d54e (diff)
lavfi: remove remaining forgotten min/rej perms.
-rw-r--r--libavfilter/af_apad.c1
-rw-r--r--libavfilter/af_channelmap.c4
-rw-r--r--libavfilter/f_select.c1
-rw-r--r--libavfilter/sink_buffer.c4
-rw-r--r--libavfilter/split.c1
-rw-r--r--libavfilter/vf_alphamerge.c3
-rw-r--r--libavfilter/vf_bbox.c1
-rw-r--r--libavfilter/vf_deshake.c1
-rw-r--r--libavfilter/vf_fps.c2
-rw-r--r--libavfilter/vf_idet.c2
-rw-r--r--libavfilter/vf_noise.c1
-rw-r--r--libavfilter/vf_overlay.c1
-rw-r--r--libavfilter/vf_smartblur.c1
-rw-r--r--libavfilter/vf_yadif.c1
14 files changed, 3 insertions, 21 deletions
diff --git a/libavfilter/af_apad.c b/libavfilter/af_apad.c
index 2afd3a860d..b3a4b95e81 100644
--- a/libavfilter/af_apad.c
+++ b/libavfilter/af_apad.c
@@ -139,7 +139,6 @@ static const AVFilterPad apad_inputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
.filter_frame = filter_frame,
- .min_perms = AV_PERM_READ,
},
{ NULL },
};
diff --git a/libavfilter/af_channelmap.c b/libavfilter/af_channelmap.c
index 85f333ed81..e73c4bc904 100644
--- a/libavfilter/af_channelmap.c
+++ b/libavfilter/af_channelmap.c
@@ -388,9 +388,9 @@ static const AVFilterPad avfilter_af_channelmap_inputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
- .min_perms = AV_PERM_READ | AV_PERM_WRITE,
.filter_frame = channelmap_filter_frame,
- .config_props = channelmap_config_input
+ .config_props = channelmap_config_input,
+ .needs_writable = 1,
},
{ NULL }
};
diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c
index 36ef50744a..603fad39c0 100644
--- a/libavfilter/f_select.c
+++ b/libavfilter/f_select.c
@@ -480,7 +480,6 @@ static const AVFilterPad avfilter_vf_select_inputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.get_video_buffer = ff_null_get_video_buffer,
- .min_perms = AV_PERM_PRESERVE,
.config_props = config_input,
.filter_frame = filter_frame,
},
diff --git a/libavfilter/sink_buffer.c b/libavfilter/sink_buffer.c
index 07e4d04e45..8db3aa1769 100644
--- a/libavfilter/sink_buffer.c
+++ b/libavfilter/sink_buffer.c
@@ -331,7 +331,6 @@ static const AVFilterPad ffbuffersink_inputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
- .min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
},
{ NULL },
};
@@ -353,7 +352,6 @@ static const AVFilterPad buffersink_inputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
- .min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
},
{ NULL },
};
@@ -467,7 +465,6 @@ static const AVFilterPad ffabuffersink_inputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
.filter_frame = filter_frame,
- .min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
},
{ NULL },
};
@@ -488,7 +485,6 @@ static const AVFilterPad abuffersink_inputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
.filter_frame = filter_frame,
- .min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
},
{ NULL },
};
diff --git a/libavfilter/split.c b/libavfilter/split.c
index fadbcc0ed1..b57d8cd483 100644
--- a/libavfilter/split.c
+++ b/libavfilter/split.c
@@ -52,7 +52,6 @@ static int split_init(AVFilterContext *ctx, const char *args)
snprintf(name, sizeof(name), "output%d", i);
pad.type = ctx->filter->inputs[0].type;
pad.name = av_strdup(name);
- pad.rej_perms = AV_PERM_WRITE;
ff_insert_outpad(ctx, i, &pad);
}
diff --git a/libavfilter/vf_alphamerge.c b/libavfilter/vf_alphamerge.c
index ead7ca7581..0727f7bfcc 100644
--- a/libavfilter/vf_alphamerge.c
+++ b/libavfilter/vf_alphamerge.c
@@ -176,12 +176,11 @@ static const AVFilterPad alphamerge_inputs[] = {
.config_props = config_input_main,
.get_video_buffer = ff_null_get_video_buffer,
.filter_frame = filter_frame,
- .min_perms = AV_PERM_READ | AV_PERM_WRITE | AV_PERM_PRESERVE,
+ .needs_writable = 1,
},{
.name = "alpha",
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
- .min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
},
{ NULL }
};
diff --git a/libavfilter/vf_bbox.c b/libavfilter/vf_bbox.c
index a761b56263..4ff0625a5d 100644
--- a/libavfilter/vf_bbox.c
+++ b/libavfilter/vf_bbox.c
@@ -94,7 +94,6 @@ static const AVFilterPad bbox_inputs[] = {
.type = AVMEDIA_TYPE_VIDEO,
.get_video_buffer = ff_null_get_video_buffer,
.filter_frame = filter_frame,
- .min_perms = AV_PERM_READ,
},
{ NULL }
};
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c
index 318c399473..138c25d8db 100644
--- a/libavfilter/vf_deshake.c
+++ b/libavfilter/vf_deshake.c
@@ -560,7 +560,6 @@ static const AVFilterPad deshake_inputs[] = {
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
.config_props = config_props,
- .min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
},
{ NULL }
};
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c
index 15eb6564e9..3394252687 100644
--- a/libavfilter/vf_fps.c
+++ b/libavfilter/vf_fps.c
@@ -273,7 +273,6 @@ static const AVFilterPad avfilter_vf_fps_inputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
- .min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
.filter_frame = filter_frame,
},
{ NULL }
@@ -283,7 +282,6 @@ static const AVFilterPad avfilter_vf_fps_outputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
- .rej_perms = AV_PERM_WRITE,
.request_frame = request_frame,
.config_props = config_props
},
diff --git a/libavfilter/vf_idet.c b/libavfilter/vf_idet.c
index 0b10663469..f61ac5a7d6 100644
--- a/libavfilter/vf_idet.c
+++ b/libavfilter/vf_idet.c
@@ -299,7 +299,6 @@ static const AVFilterPad idet_inputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
- .min_perms = AV_PERM_PRESERVE,
},
{ NULL }
};
@@ -308,7 +307,6 @@ static const AVFilterPad idet_outputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
- .rej_perms = AV_PERM_WRITE,
.request_frame = request_frame,
},
{ NULL }
diff --git a/libavfilter/vf_noise.c b/libavfilter/vf_noise.c
index e80f461663..7095324563 100644
--- a/libavfilter/vf_noise.c
+++ b/libavfilter/vf_noise.c
@@ -343,7 +343,6 @@ static const AVFilterPad noise_inputs[] = {
.get_video_buffer = ff_null_get_video_buffer,
.filter_frame = filter_frame,
.config_props = config_input,
- .min_perms = AV_PERM_READ,
},
{ NULL }
};
diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c
index 313fef1533..e7d213ccd1 100644
--- a/libavfilter/vf_overlay.c
+++ b/libavfilter/vf_overlay.c
@@ -654,7 +654,6 @@ static const AVFilterPad avfilter_vf_overlay_outputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
- .rej_perms = AV_PERM_WRITE,
.config_props = config_output,
.request_frame = request_frame,
},
diff --git a/libavfilter/vf_smartblur.c b/libavfilter/vf_smartblur.c
index ccbd22b41e..7de1cd3ae6 100644
--- a/libavfilter/vf_smartblur.c
+++ b/libavfilter/vf_smartblur.c
@@ -287,7 +287,6 @@ static const AVFilterPad smartblur_inputs[] = {
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
.config_props = config_props,
- .min_perms = AV_PERM_READ,
},
{ NULL }
};
diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c
index 95f35b2c8c..239dbc6953 100644
--- a/libavfilter/vf_yadif.c
+++ b/libavfilter/vf_yadif.c
@@ -479,7 +479,6 @@ static const AVFilterPad avfilter_vf_yadif_inputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
- .min_perms = AV_PERM_PRESERVE,
},
{ NULL }
};