avfilter/vf_morpho: switch to internal timeline

This commit is contained in:
Paul B Mahol 2021-10-03 12:47:34 +02:00
parent f9fc1fed29
commit 24e349c74b
1 changed files with 2 additions and 2 deletions

View File

@ -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,
};