1
0
Эх сурвалжийг харах

obs-ffmpeg: Remove duplicate "FFmpeg Options" locale

gxalpha 3 жил өмнө
parent
commit
bfa7f1a88e

+ 1 - 3
plugins/obs-ffmpeg/data/locale/en-US.ini

@@ -2,6 +2,7 @@ FFmpegOutput="FFmpeg Output"
 FFmpegAAC="FFmpeg Default AAC Encoder"
 FFmpegOpus="FFmpeg Opus Encoder"
 FFmpegOpts="FFmpeg Options"
+FFmpegOpts.ToolTip.Source="Allows you to set FFmpeg options. This only accepts options in the option=value format.\nMultiple options can be set by separating them with a space.\nExample: rtsp_transport=tcp rtsp_flags=prefer_tcp"
 Bitrate="Bitrate"
 MaxBitrate="Max Bitrate"
 Preset="Preset"
@@ -62,9 +63,6 @@ MediaFileFilter.AllFiles="All Files"
 ReplayBuffer="Replay Buffer"
 ReplayBuffer.Save="Save Replay"
 
-FFmpeg.Options="FFmpeg Options"
-FFmpeg.Options.Tooltip="Allows you to set FFmpeg options. This only accepts options in the option=value format.\nMultiple options can be set by separating them with a space.\nExample: rtsp_transport=tcp rtsp_flags=prefer_tcp"
-
 HelperProcessFailed="Unable to start the recording helper process. Check that OBS files have not been blocked or removed by any 3rd party antivirus / security software."
 UnableToWritePath="Unable to write to %1. Make sure you're using a recording path which your user account is allowed to write to and that there is sufficient disk space."
 WarnWindowsDefender="If Windows 10 Ransomware Protection is enabled it can also cause this error. Try turning off controlled folder access in Windows Security / Virus & threat protection settings."

+ 2 - 2
plugins/obs-ffmpeg/obs-ffmpeg-source.c

@@ -223,10 +223,10 @@ static obs_properties_t *ffmpeg_source_getproperties(void *data)
 	obs_properties_add_bool(props, "seekable", obs_module_text("Seekable"));
 
 	prop = obs_properties_add_text(props, "ffmpeg_options",
-				       obs_module_text("FFmpeg.Options"),
+				       obs_module_text("FFmpegOpts"),
 				       OBS_TEXT_DEFAULT);
 	obs_property_set_long_description(
-		prop, obs_module_text("FFmpeg.Options.Tooltip"));
+		prop, obs_module_text("FFmpegOpts.ToolTip.Source"));
 
 	return props;
 }