Browse Source

Organize some things

pull/85/head
MaranBr 8 months ago
parent
commit
3b85b67944
  1. 4
      src/video_core/host1x/ffmpeg/ffmpeg.cpp

4
src/video_core/host1x/ffmpeg/ffmpeg.cpp

@ -122,7 +122,7 @@ bool Decoder::SupportsDecodingOnDevice(AVPixelFormat* out_pix_fmt, AVHWDeviceTyp
} }
if (config->methods & AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX && config->device_type == type) { if (config->methods & AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX && config->device_type == type) {
LOG_INFO(HW_GPU, "Using {} GPU Decoder", av_hwdevice_get_type_name(type));
LOG_INFO(HW_GPU, "Using {} GPU decoder", av_hwdevice_get_type_name(type));
*out_pix_fmt = config->pix_fmt; *out_pix_fmt = config->pix_fmt;
return true; return true;
} }
@ -226,7 +226,7 @@ bool DecoderContext::OpenContext(const Decoder& decoder) {
} }
if (!m_codec_context->hw_device_ctx) { if (!m_codec_context->hw_device_ctx) {
LOG_INFO(HW_GPU, "Using FFmpeg CPU Decoder");
LOG_INFO(HW_GPU, "Using FFmpeg CPU decoder");
} }
return true; return true;

Loading…
Cancel
Save