Parcourir la source

obs-ffmpeg: Set NVENC CQP maximum to 51

51 is the actual maximum and especially with HEVC values higher than 30
are actually pretty usable.
derrod il y a 3 ans
Parent
commit
9c20ad9046
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      plugins/obs-ffmpeg/obs-ffmpeg-nvenc.c

+ 1 - 1
plugins/obs-ffmpeg/obs-ffmpeg-nvenc.c

@@ -433,7 +433,7 @@ obs_properties_t *nvenc_properties_internal(bool hevc, bool ffmpeg)
 	obs_property_int_set_suffix(p, " Kbps");
 	obs_property_int_set_suffix(p, " Kbps");
 
 
 	obs_properties_add_int(props, "cqp", obs_module_text("NVENC.CQLevel"),
 	obs_properties_add_int(props, "cqp", obs_module_text("NVENC.CQLevel"),
-			       1, 30, 1);
+			       1, 51, 1);
 
 
 	p = obs_properties_add_int(props, "keyint_sec",
 	p = obs_properties_add_int(props, "keyint_sec",
 				   obs_module_text("KeyframeIntervalSec"), 0,
 				   obs_module_text("KeyframeIntervalSec"), 0,