From patchwork Fri Dec 30 08:42:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ting Fu X-Patchwork-Id: 39809 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:bc95:b0:ad:ade2:bfd2 with SMTP id fx21csp5415295pzb; Fri, 30 Dec 2022 01:00:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXsWJ8OBkmxKlD9UvAUn0KtdE9Fw4OxgowTHpBmo0n5FN3hyNMJ+92+tiG+jSsld+qr5g90u X-Received: by 2002:a17:907:9c08:b0:78d:f454:ba4a with SMTP id ld8-20020a1709079c0800b0078df454ba4amr11595784ejc.73.1672390829848; Fri, 30 Dec 2022 01:00:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672390829; cv=none; d=google.com; s=arc-20160816; b=EZlmjRdQQFCvjJg5/sQT6zsaA8foEZ1ZFVHRUKxt3pWxZyLEFaHP2aXZ/bzZvncj4E v2TzLPW1kM11FqZSVNqLHxaYYLwUP+ZUDsDtvWPOYsBKZYEWK/dEI6N0U/9EEyKrL3eh mqOCVizoQLTAN/FQ6ZUxeX5UH4Tkj5Z/dur7ixrR7cFqDFXTJBAFiPgxMQEUnpys0FR6 IJRJuzXELxZBkvo1n9QIlbYE2cCNab0HfUOhrCa/xUDeTFfcrS8qMfUZAWEUlfZaPqIu QWMNrlp+Bm2CPBDOMiJImVkJ828OqdQX9ayQO/UNkU3HqevSyOvGp1ITbktE19J9g+y+ JV+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to; bh=JF74h0wlEeiMazkb34L9u6sfuMAa69rA/ClPno+sfDA=; b=fxbTEqerBKGEofhf5nadCtWGKlDLkn540EnIEE6zZ0APgywFR+t4pgyA0VaHssLqLv wuyIK8wAtNm35zgJzPReiE9PaLCwU5MNCGOggm41I4C9zPTDsRK2VzPSxu/gSqP61EfF 6rZIFqLuM4BZhdurvnXKmxZy591MHE+7iTcIQV+g1XdYNdBz+Arp15lVxuvJxNW48mkR w/CRio4glv3L9PnU41xbfaYc64HYXzQN3nSMHWbjw+YL5apMG45Gj+LximMLG841YC3u Rke0neoAF0IzdzhTccG4Ua1AXjzeKUV01wfNw7aEO2GzXqbR7FyLDBXFcwD5Ay2IP63+ SK4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel.com header.s=Intel header.b=P5b7adUy; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id oz31-20020a1709077d9f00b007c0b03b23b5si18003616ejc.542.2022.12.30.01.00.29; Fri, 30 Dec 2022 01:00:29 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel.com header.s=Intel header.b=P5b7adUy; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 91E8068B4EF; Fri, 30 Dec 2022 11:00:25 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1452F68A360 for ; Fri, 30 Dec 2022 11:00:17 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672390823; x=1703926823; h=from:to:subject:date:message-id; bh=o9wyHldqBQ/k8Fgw6XvAcsfdviH2PCDe7KkCrbUwwh8=; b=P5b7adUyyJzrucpznxGrEf3wajmWvs4nOW3r6AHQIJQiQe74RCIU287E DUK8WOhoGT4kdlkiqxQLCrhfIpj08huwlmA6gKydI6LUof7IwwCmVH/jY lsVzkN+nZTwc1ilhsj8GL8V5omOhMIBp7dc5zVE27LIWvBYLlL6bdWR69 NSVkZ5rEaHjEaHVZ9xfOG4ETbyNUYz9f5x465Zi2u9rqrq5e4KEEq4iAc HM6pLPs26o0jwkZedpL8o+3LM+jXw7Jt0Ukfi6cPRI6hh5twt8wzGuMvN VEThrMviGwsymDrK0ma6pK86TOt+6iQObFZXzok7ooNlxznMkhTRh3eSM A==; X-IronPort-AV: E=McAfee;i="6500,9779,10575"; a="348389002" X-IronPort-AV: E=Sophos;i="5.96,286,1665471600"; d="scan'208";a="348389002" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Dec 2022 01:00:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10575"; a="655812563" X-IronPort-AV: E=Sophos;i="5.96,286,1665471600"; d="scan'208";a="655812563" Received: from semmer-ubuntu.sh.intel.com ([10.239.159.83]) by fmsmga007.fm.intel.com with ESMTP; 30 Dec 2022 01:00:03 -0800 From: Ting Fu To: ffmpeg-devel@ffmpeg.org Date: Fri, 30 Dec 2022 16:42:55 +0800 Message-Id: <20221230084256.23865-1-ting.fu@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [FFmpeg-devel] [PATCH 1/2] lavfi/dnn: Modify error message for incorrect backend_type X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: koayw8pAgMUz Signed-off-by: Ting Fu --- 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; }