Forráskód Böngészése

Merge pull request #1122 from SuslikV/patch-5

libobs: Fix incomplete struct in scaler call
Jim 8 éve
szülő
commit
98d291c037
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      libobs/media-io/video-io.c

+ 2 - 0
libobs/media-io/video-io.c

@@ -302,6 +302,8 @@ static inline bool video_input_init(struct video_input *input,
 			.format = video->info.format,
 			.width  = video->info.width,
 			.height = video->info.height,
+			.range = video->info.range,
+			.colorspace = video->info.colorspace
 		};
 
 		int ret = video_scaler_create(&input->scaler,