From 2e1d9e8e644dea967a84263afa2d850323b01371 Mon Sep 17 00:00:00 2001 From: jpark37 Date: Sun, 27 Feb 2022 01:29:43 -0800 Subject: [PATCH] win-dshow: Add hardware decode status to log --- plugins/win-dshow/win-dshow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/win-dshow/win-dshow.cpp b/plugins/win-dshow/win-dshow.cpp index 748013677..4fe3ff37e 100644 --- a/plugins/win-dshow/win-dshow.cpp +++ b/plugins/win-dshow/win-dshow.cpp @@ -981,12 +981,14 @@ bool DShowInput::UpdateVideoConfig(obs_data_t *settings) "\tflip: %d\n" "\tfps: %0.2f (interval: %lld)\n" "\tformat: %s\n" - "\tbuffering: %s", + "\tbuffering: %s\n" + "\thardware decode: %s", obs_source_get_name(source), (const char *)name_utf8, (const char *)path_utf8, videoConfig.cx, videoConfig.cy_abs, (int)videoConfig.cy_flip, fps, videoConfig.frameInterval, formatName->array, - obs_source_async_unbuffered(source) ? "disabled" : "enabled"); + obs_source_async_unbuffered(source) ? "disabled" : "enabled", + hw_decode ? "enabled" : "disabled"); return true; }