diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-10-03 12:47:34 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-10-03 13:06:55 +0200 |
commit | 24e349c74badd84edf3096beb39ed081497d4da1 (patch) | |
tree | da09710318a324e9e49b0437b9cc8d8c8870a36f | |
parent | f9fc1fed2957490673be13b53c2d574456f5b959 (diff) |
avfilter/vf_morpho: switch to internal timeline
-rw-r--r-- | libavfilter/vf_morpho.c | 4 |
1 files 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, }; |