mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/dnn: add error info for TF backend filling task failure
Signed-off-by: Ting Fu <ting.fu@intel.com>
This commit is contained in:
parent
af052f9066
commit
bc589c91f7
|
@ -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);
|
ret = ff_dnn_fill_task(task, exec_params, tf_model, ctx->options.async, 1);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
|
av_log(ctx, AV_LOG_ERROR, "Fill task with invalid parameter(s).\n");
|
||||||
av_freep(&task);
|
av_freep(&task);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue