From 24e349c74badd84edf3096beb39ed081497d4da1 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 3 Oct 2021 12:47:34 +0200 Subject: [PATCH] avfilter/vf_morpho: switch to internal timeline --- libavfilter/vf_morpho.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_morpho.c b/libavfilter/vf_morpho.c index 13d58c4194..cb751f7523 100644 --- a/libavfilter/vf_morpho.c +++ b/libavfilter/vf_morpho.c @@ -822,7 +822,7 @@ static int do_morpho(FFFrameSync *fs) const int depth = s->depth; int type_size = s->type_size; - if (!(s->planes & (1 << p))) { + if (ctx->is_disabled || !(s->planes & (1 << p))) { copy: av_image_copy_plane(out->data[p] + 0 * out->linesize[p], out->linesize[p], @@ -1022,6 +1022,6 @@ const AVFilter ff_vf_morpho = { .query_formats = query_formats, FILTER_INPUTS(morpho_inputs), FILTER_OUTPUTS(morpho_outputs), - .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, + .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL, .process_command = ff_filter_process_command, };