[FFmpeg-cvslog] lavfi/dnn: add error info for TF backend filling task failure

Ting Fu git at videolan.org
Sun Mar 26 04:56:42 EEST 2023


ffmpeg | branch: master | Ting Fu <ting.fu-at-intel.com at ffmpeg.org> | Fri Mar 24 15:30:40 2023 +0800| [bc589c91f7c32851328ef90bd56a7b8e917e5f5f] | committer: Guo Yejun

lavfi/dnn: add error info for TF backend filling task failure

Signed-off-by: Ting Fu <ting.fu at intel.com>

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

 libavfilter/dnn/dnn_backend_tf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c
index fe1baa2e5e..3d372a5628 100644
--- a/libavfilter/dnn/dnn_backend_tf.c
+++ b/libavfilter/dnn/dnn_backend_tf.c
@@ -1152,6 +1152,7 @@ int ff_dnn_execute_model_tf(const DNNModel *model, DNNExecBaseParams *exec_param
 
     ret = ff_dnn_fill_task(task, exec_params, tf_model, ctx->options.async, 1);
     if (ret != 0) {
+        av_log(ctx, AV_LOG_ERROR, "Fill task with invalid parameter(s).\n");
         av_freep(&task);
         return ret;
     }



More information about the ffmpeg-cvslog mailing list