]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_blend.c
Merge commit 'f290e48d86e10f34b5ddc519127636bcebec7c43'
[ffmpeg] / libavfilter / vf_blend.c
index be92bd15be0e1de68d237a289045bf13e8a91e48..ef0e7e46b128c93d8d3ce4af7a50e35dfe053844 100644 (file)
@@ -467,9 +467,8 @@ static int config_output(AVFilterLink *outlink)
     is_16bit = pix_desc->comp[0].depth == 16;
     s->nb_planes = av_pix_fmt_count_planes(toplink->format);
 
-    if (s->tblend)
-        outlink->flags |= FF_LINK_FLAG_REQUEST_LOOP;
-    else if ((ret = ff_dualinput_init(ctx, &s->dinput)) < 0)
+    if (!s->tblend)
+        if ((ret = ff_dualinput_init(ctx, &s->dinput)) < 0)
             return ret;
 
     for (plane = 0; plane < FF_ARRAY_ELEMS(s->params); plane++) {