From bdc1a052fed7f6ecfceba754707f8de5eb305fcd Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sat, 11 Jul 2015 14:23:12 -0700 Subject: [PATCH] win-dshow: Fix mingw compiler errors/warnings --- plugins/win-dshow/win-dshow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/win-dshow/win-dshow.cpp b/plugins/win-dshow/win-dshow.cpp index 67613075e..c228c2919 100644 --- a/plugins/win-dshow/win-dshow.cpp +++ b/plugins/win-dshow/win-dshow.cpp @@ -838,7 +838,8 @@ bool DShowInput::UpdateVideoConfig(obs_data_t *settings) "\tfps: %0.2f (interval: %lld)\n" "\tformat: %s", obs_source_get_name(source), - name_utf8, path_utf8, + (const char*)name_utf8, + (const char*)path_utf8, videoConfig.cx, videoConfig.cy, fps, videoConfig.frameInterval, formatName->array); @@ -887,7 +888,7 @@ bool DShowInput::UpdateAudioConfig(obs_data_t *settings) audioConfig.useVideoDevice ? "yes" : "no"); if (!audioConfig.useVideoDevice) - blog(LOG_INFO, "\taudio device: %s", name_utf8); + blog(LOG_INFO, "\taudio device: %s", (const char*)name_utf8); const char *mode = "";