From abdc2b61cee06de01cc014078f906f2b159b269a Mon Sep 17 00:00:00 2001 From: jp9000 Date: Wed, 15 Apr 2015 18:42:06 -0700 Subject: [PATCH] UI: Make RGB output use RGB, not BGR Noticed that the red and blue channels were inverted when testing. --- obs/window-basic-main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obs/window-basic-main.cpp b/obs/window-basic-main.cpp index 1237b5f50..ec4bfda4d 100644 --- a/obs/window-basic-main.cpp +++ b/obs/window-basic-main.cpp @@ -1523,7 +1523,7 @@ static inline enum video_format GetVideoFormatFromName(const char *name) return VIDEO_FORMAT_UYVY; #endif else - return VIDEO_FORMAT_BGRA; + return VIDEO_FORMAT_RGBA; } int OBSBasic::ResetVideo()