From bc589c91f7c32851328ef90bd56a7b8e917e5f5f Mon Sep 17 00:00:00 2001 From: Ting Fu Date: Fri, 24 Mar 2023 15:30:40 +0800 Subject: [PATCH] lavfi/dnn: add error info for TF backend filling task failure Signed-off-by: Ting Fu --- 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; }