X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_select.c;h=d47876bbbae729589665ad0c61fb982d2a155bbf;hb=6c0107822d3ed7588fa857c3ed1ee886b4ba62e9;hp=4d19b33913acf6b4ba9622b579e3bc0389798b39;hpb=e776ee8f294984f7643a3c45db803c7266e1edfd;p=ffmpeg diff --git a/libavfilter/vf_select.c b/libavfilter/vf_select.c index 4d19b33913a..d47876bbbae 100644 --- a/libavfilter/vf_select.c +++ b/libavfilter/vf_select.c @@ -26,6 +26,7 @@ #include "libavutil/eval.h" #include "libavutil/fifo.h" #include "libavcodec/dsputil.h" +#include "libavutil/internal.h" #include "avfilter.h" #include "formats.h" #include "internal.h" @@ -415,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,