Browse Source

obs-ffmpeg: Fall back to FFmpeg nvenc if recale active

jp9000 5 years ago
parent
commit
55d80e82e1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      plugins/obs-ffmpeg/jim-nvenc.c

+ 3 - 0
plugins/obs-ffmpeg/jim-nvenc.c

@@ -581,6 +581,9 @@ static void *nvenc_create(obs_data_t *settings, obs_encoder_t *encoder)
 		goto fail;
 	}
 
+	if (obs_encoder_scaling_enabled(encoder)) {
+		goto fail;
+	}
 	if (!obs_nv12_tex_active()) {
 		goto fail;
 	}