From 20ea8b06fd0188de2f3a5b282f61c18f78f6f6cf Mon Sep 17 00:00:00 2001 From: 0xb79orch <0xb79orch@gmail.com> Date: Mon, 18 Mar 2024 21:20:59 +0000 Subject: [PATCH] remove log line if software transcoding --- ffmpeg/decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg/decoder.c b/ffmpeg/decoder.c index 2b66a7fb02..913533eec0 100755 --- a/ffmpeg/decoder.c +++ b/ffmpeg/decoder.c @@ -159,7 +159,7 @@ enum AVPixelFormat hw2pixfmt(AVCodecContext *ctx) for (int i = 0;; i++) { const AVCodecHWConfig *config = avcodec_get_hw_config(decoder, i); if (!config) { - LPMS_WARN("Decoder does not support hw decoding"); + //LPMS_WARN("Decoder does not support hw decoding"); return AV_PIX_FMT_NONE; } if (config->methods & AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX &&