diff mbox series

[FFmpeg-devel,1/2] lavfi/dnn: Modify error message for incorrect backend_type

Message ID 20221230084256.23865-1-ting.fu@intel.com
State New
Headers show
Series [FFmpeg-devel,1/2] lavfi/dnn: Modify error message for incorrect backend_type | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Ting Fu Dec. 30, 2022, 8:42 a.m. UTC
Signed-off-by: Ting Fu <ting.fu@intel.com>
---
 libavfilter/dnn/dnn_interface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jean-Baptiste Kempf Jan. 1, 2023, 9:42 a.m. UTC | #1
LGTM.

On Fri, 30 Dec 2022, at 09:42, Ting Fu wrote:
> Signed-off-by: Ting Fu <ting.fu@intel.com>
> ---
>  libavfilter/dnn/dnn_interface.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavfilter/dnn/dnn_interface.c 
> b/libavfilter/dnn/dnn_interface.c
> index 554a36b0dc..fa484c0905 100644
> --- a/libavfilter/dnn/dnn_interface.c
> +++ b/libavfilter/dnn/dnn_interface.c
> @@ -71,7 +71,7 @@ DNNModule *ff_get_dnn_module(DNNBackendType 
> backend_type)
>      #endif
>          break;
>      default:
> -        av_log(NULL, AV_LOG_ERROR, "Module backend_type is not native 
> or tensorflow\n");
> +        av_log(NULL, AV_LOG_ERROR, "Module backend_type is not 
> supported or enabled.\n");
>          av_freep(&dnn_module);
>          return NULL;
>      }
> -- 
> 2.17.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
diff mbox series

Patch

diff --git a/libavfilter/dnn/dnn_interface.c b/libavfilter/dnn/dnn_interface.c
index 554a36b0dc..fa484c0905 100644
--- a/libavfilter/dnn/dnn_interface.c
+++ b/libavfilter/dnn/dnn_interface.c
@@ -71,7 +71,7 @@  DNNModule *ff_get_dnn_module(DNNBackendType backend_type)
     #endif
         break;
     default:
-        av_log(NULL, AV_LOG_ERROR, "Module backend_type is not native or tensorflow\n");
+        av_log(NULL, AV_LOG_ERROR, "Module backend_type is not supported or enabled.\n");
         av_freep(&dnn_module);
         return NULL;
     }