Browse Source

UI: Make RGB output use RGB, not BGR

Noticed that the red and blue channels were inverted when testing.
jp9000 10 years ago
parent
commit
abdc2b61ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      obs/window-basic-main.cpp

+ 1 - 1
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()