summaryrefslogtreecommitdiff
path: root/libavfilter/dnn
diff options
context:
space:
mode:
authorTing Fu <ting.fu-at-intel.com@ffmpeg.org>2023-03-24 15:30:40 +0800
committerGuo Yejun <yejun.guo@intel.com>2023-03-26 09:19:42 +0800
commitbc589c91f7c32851328ef90bd56a7b8e917e5f5f (patch)
treefa68b48c594142f54b58499378664adb49ab9b0f /libavfilter/dnn
parentaf052f9066a14ab633ef8e0bda49a432771efe74 (diff)
downloadffmpeg-bc589c91f7c32851328ef90bd56a7b8e917e5f5f.tar.gz
lavfi/dnn: add error info for TF backend filling task failure
Signed-off-by: Ting Fu <ting.fu@intel.com>
Diffstat (limited to 'libavfilter/dnn')
-rw-r--r--libavfilter/dnn/dnn_backend_tf.c1
1 files changed, 1 insertions, 0 deletions
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;
}