[FFmpeg-cvslog] avfilter/vf_morpho: switch to internal timeline

Paul B Mahol git at videolan.org
Sun Oct 3 14:08:02 EEST 2021


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Oct  3 12:47:34 2021 +0200| [24e349c74badd84edf3096beb39ed081497d4da1] | committer: Paul B Mahol

avfilter/vf_morpho: switch to internal timeline

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=24e349c74badd84edf3096beb39ed081497d4da1
---

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



More information about the ffmpeg-cvslog mailing list