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

Guo, Yejun yejun.guo at intel.com
Fri Mar 24 05:50:29 EET 2023



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Ting
> Fu
> Sent: Thursday, March 16, 2023 11:00 AM
> To: ffmpeg-devel at ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH 3/3] lavfi/dnn: add error info for TF backend
> filling task failure
> 
> Signed-off-by: Ting Fu <ting.fu at intel.com>
> ---
>  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 5d809a8694..bafd802abf 100644
> --- a/libavfilter/dnn/dnn_backend_tf.c
> +++ b/libavfilter/dnn/dnn_backend_tf.c
> @@ -1168,6 +1168,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);

LGTM, thanks.


More information about the ffmpeg-devel mailing list