From 1291351a2afc588ef3409b237b9e13e389f9ac0b Mon Sep 17 00:00:00 2001
From: jp9000 <obs.jim@gmail.com>
Date: Fri, 12 Sep 2014 01:29:22 -0700
Subject: [PATCH] win-dshow: Properly log colorspace on format fail

---
 plugins/win-dshow/win-dshow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/win-dshow/win-dshow.cpp b/plugins/win-dshow/win-dshow.cpp
index 234e956a0..6f9ee0872 100644
--- a/plugins/win-dshow/win-dshow.cpp
+++ b/plugins/win-dshow/win-dshow.cpp
@@ -672,7 +672,7 @@ void DShowInput::Update(obs_data_t settings)
 			frame.color_range_min,
 			frame.color_range_max)) {
 		blog(LOG_ERROR, "Failed to get video format parameters for " \
-		                "video format %u", VIDEO_CS_601);
+		                "video format %u", cs);
 	}
 }
 
-- 
GitLab