Explorar o código

libobs: Fix GPU scaling using the main mix

Exeldro hai 1 ano
pai
achega
c4c2f5b382
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libobs/obs-encoder.c

+ 1 - 1
libobs/obs-encoder.c

@@ -276,7 +276,7 @@ static void maybe_set_up_gpu_rescale(struct obs_encoder *encoder)
 		struct obs_core_video_mix *current = obs->video.mixes.array[i];
 		const struct video_output_info *voi =
 			video_output_get_info(current->video);
-		if (current->view != &obs->data.main_view)
+		if (current->view != current_mix->view)
 			continue;
 
 		if (voi->width != encoder->scaled_width ||