]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/f_perms.c
avfilter: Constify all AVFilters
[ffmpeg] / libavfilter / f_perms.c
index dc6ecbbb531e1d92bc9bec72b2e50eb343f0a686..0302ed765be5f6f9c7b7f7989dc869882a357699 100644 (file)
@@ -133,7 +133,7 @@ static const AVFilterPad aperms_outputs[] = {
     { NULL }
 };
 
-AVFilter ff_af_aperms = {
+const AVFilter ff_af_aperms = {
     .name        = "aperms",
     .description = NULL_IF_CONFIG_SMALL("Set permissions for the output audio frame."),
     .init        = init,
@@ -141,6 +141,7 @@ AVFilter ff_af_aperms = {
     .inputs      = aperms_inputs,
     .outputs     = aperms_outputs,
     .priv_class  = &aperms_class,
+    .flags       = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
 };
 #endif /* CONFIG_APERMS_FILTER */
 
@@ -166,7 +167,7 @@ static const AVFilterPad perms_outputs[] = {
     { NULL }
 };
 
-AVFilter ff_vf_perms = {
+const AVFilter ff_vf_perms = {
     .name        = "perms",
     .description = NULL_IF_CONFIG_SMALL("Set permissions for the output video frame."),
     .init        = init,
@@ -174,5 +175,6 @@ AVFilter ff_vf_perms = {
     .inputs      = perms_inputs,
     .outputs     = perms_outputs,
     .priv_class  = &perms_class,
+    .flags       = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
 };
 #endif /* CONFIG_PERMS_FILTER */