lavfi: remove remaining forgotten min/rej perms.
This commit is contained in:
parent
806a66fd08
commit
96e4b00d62
@ -139,7 +139,6 @@ static const AVFilterPad apad_inputs[] = {
|
|||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_AUDIO,
|
.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
.min_perms = AV_PERM_READ,
|
|
||||||
},
|
},
|
||||||
{ NULL },
|
{ NULL },
|
||||||
};
|
};
|
||||||
|
@ -388,9 +388,9 @@ static const AVFilterPad avfilter_af_channelmap_inputs[] = {
|
|||||||
{
|
{
|
||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_AUDIO,
|
.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.min_perms = AV_PERM_READ | AV_PERM_WRITE,
|
|
||||||
.filter_frame = channelmap_filter_frame,
|
.filter_frame = channelmap_filter_frame,
|
||||||
.config_props = channelmap_config_input
|
.config_props = channelmap_config_input,
|
||||||
|
.needs_writable = 1,
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
@ -480,7 +480,6 @@ static const AVFilterPad avfilter_vf_select_inputs[] = {
|
|||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.get_video_buffer = ff_null_get_video_buffer,
|
.get_video_buffer = ff_null_get_video_buffer,
|
||||||
.min_perms = AV_PERM_PRESERVE,
|
|
||||||
.config_props = config_input,
|
.config_props = config_input,
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
},
|
},
|
||||||
|
@ -331,7 +331,6 @@ static const AVFilterPad ffbuffersink_inputs[] = {
|
|||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
.min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
|
|
||||||
},
|
},
|
||||||
{ NULL },
|
{ NULL },
|
||||||
};
|
};
|
||||||
@ -353,7 +352,6 @@ static const AVFilterPad buffersink_inputs[] = {
|
|||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
.min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
|
|
||||||
},
|
},
|
||||||
{ NULL },
|
{ NULL },
|
||||||
};
|
};
|
||||||
@ -467,7 +465,6 @@ static const AVFilterPad ffabuffersink_inputs[] = {
|
|||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_AUDIO,
|
.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
.min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
|
|
||||||
},
|
},
|
||||||
{ NULL },
|
{ NULL },
|
||||||
};
|
};
|
||||||
@ -488,7 +485,6 @@ static const AVFilterPad abuffersink_inputs[] = {
|
|||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_AUDIO,
|
.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
.min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
|
|
||||||
},
|
},
|
||||||
{ NULL },
|
{ NULL },
|
||||||
};
|
};
|
||||||
|
@ -52,7 +52,6 @@ static int split_init(AVFilterContext *ctx, const char *args)
|
|||||||
snprintf(name, sizeof(name), "output%d", i);
|
snprintf(name, sizeof(name), "output%d", i);
|
||||||
pad.type = ctx->filter->inputs[0].type;
|
pad.type = ctx->filter->inputs[0].type;
|
||||||
pad.name = av_strdup(name);
|
pad.name = av_strdup(name);
|
||||||
pad.rej_perms = AV_PERM_WRITE;
|
|
||||||
|
|
||||||
ff_insert_outpad(ctx, i, &pad);
|
ff_insert_outpad(ctx, i, &pad);
|
||||||
}
|
}
|
||||||
|
@ -176,12 +176,11 @@ static const AVFilterPad alphamerge_inputs[] = {
|
|||||||
.config_props = config_input_main,
|
.config_props = config_input_main,
|
||||||
.get_video_buffer = ff_null_get_video_buffer,
|
.get_video_buffer = ff_null_get_video_buffer,
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
.min_perms = AV_PERM_READ | AV_PERM_WRITE | AV_PERM_PRESERVE,
|
.needs_writable = 1,
|
||||||
},{
|
},{
|
||||||
.name = "alpha",
|
.name = "alpha",
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
.min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
|
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
@ -94,7 +94,6 @@ static const AVFilterPad bbox_inputs[] = {
|
|||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.get_video_buffer = ff_null_get_video_buffer,
|
.get_video_buffer = ff_null_get_video_buffer,
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
.min_perms = AV_PERM_READ,
|
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
@ -560,7 +560,6 @@ static const AVFilterPad deshake_inputs[] = {
|
|||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
.config_props = config_props,
|
.config_props = config_props,
|
||||||
.min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
|
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
@ -273,7 +273,6 @@ static const AVFilterPad avfilter_vf_fps_inputs[] = {
|
|||||||
{
|
{
|
||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
|
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
@ -283,7 +282,6 @@ static const AVFilterPad avfilter_vf_fps_outputs[] = {
|
|||||||
{
|
{
|
||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.rej_perms = AV_PERM_WRITE,
|
|
||||||
.request_frame = request_frame,
|
.request_frame = request_frame,
|
||||||
.config_props = config_props
|
.config_props = config_props
|
||||||
},
|
},
|
||||||
|
@ -299,7 +299,6 @@ static const AVFilterPad idet_inputs[] = {
|
|||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
.min_perms = AV_PERM_PRESERVE,
|
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
@ -308,7 +307,6 @@ static const AVFilterPad idet_outputs[] = {
|
|||||||
{
|
{
|
||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.rej_perms = AV_PERM_WRITE,
|
|
||||||
.request_frame = request_frame,
|
.request_frame = request_frame,
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
|
@ -343,7 +343,6 @@ static const AVFilterPad noise_inputs[] = {
|
|||||||
.get_video_buffer = ff_null_get_video_buffer,
|
.get_video_buffer = ff_null_get_video_buffer,
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
.config_props = config_input,
|
.config_props = config_input,
|
||||||
.min_perms = AV_PERM_READ,
|
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
@ -654,7 +654,6 @@ static const AVFilterPad avfilter_vf_overlay_outputs[] = {
|
|||||||
{
|
{
|
||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.rej_perms = AV_PERM_WRITE,
|
|
||||||
.config_props = config_output,
|
.config_props = config_output,
|
||||||
.request_frame = request_frame,
|
.request_frame = request_frame,
|
||||||
},
|
},
|
||||||
|
@ -287,7 +287,6 @@ static const AVFilterPad smartblur_inputs[] = {
|
|||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
.config_props = config_props,
|
.config_props = config_props,
|
||||||
.min_perms = AV_PERM_READ,
|
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
@ -479,7 +479,6 @@ static const AVFilterPad avfilter_vf_yadif_inputs[] = {
|
|||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.filter_frame = filter_frame,
|
.filter_frame = filter_frame,
|
||||||
.min_perms = AV_PERM_PRESERVE,
|
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user