mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 09:39:15 +00:00
obs-transitions: Add long description for full decode option
This commit is contained in:
parent
01786a3f11
commit
ffd6ae699c
|
@ -29,6 +29,7 @@ TrackMatteLayoutVertical="Same file, stacked (stinger on top, track matte at the
|
|||
TrackMatteLayoutSeparateFile="Separate file (warning: matte can get out of sync)"
|
||||
TrackMatteLayoutMask="Mask only"
|
||||
PreloadVideoToRam="Preload Video to RAM"
|
||||
PreloadVideoToRam.Description="Load the entire Stinger to RAM, avoiding real-time decoding during playback.\nRequires a lot of RAM (a typical 5 second 1080p60 video takes ~1 GB)."
|
||||
AudioFadeStyle="Audio Fade Style"
|
||||
AudioFadeStyle.FadeOutFadeIn="Fade out to transition point then fade in"
|
||||
AudioFadeStyle.CrossFade="Crossfade"
|
||||
|
|
|
@ -748,10 +748,6 @@ static obs_properties_t *stinger_properties(void *data)
|
|||
obs_property_t *p = obs_properties_add_list(
|
||||
ppts, "tp_type", obs_module_text("TransitionPointType"),
|
||||
OBS_COMBO_TYPE_LIST, OBS_COMBO_FORMAT_INT);
|
||||
obs_properties_add_bool(ppts, "hw_decode",
|
||||
obs_module_text("HardwareDecode"));
|
||||
obs_properties_add_bool(ppts, "preload",
|
||||
obs_module_text("PreloadVideoToRam"));
|
||||
obs_property_list_add_int(p, obs_module_text("TransitionPointTypeTime"),
|
||||
TIMING_TIME);
|
||||
obs_property_list_add_int(
|
||||
|
@ -759,6 +755,13 @@ static obs_properties_t *stinger_properties(void *data)
|
|||
|
||||
obs_property_set_modified_callback(p, transition_point_type_modified);
|
||||
|
||||
obs_properties_add_bool(ppts, "hw_decode",
|
||||
obs_module_text("HardwareDecode"));
|
||||
p = obs_properties_add_bool(ppts, "preload",
|
||||
obs_module_text("PreloadVideoToRam"));
|
||||
obs_property_set_long_description(
|
||||
p, obs_module_text("PreloadVideoToRam.Description"));
|
||||
|
||||
obs_properties_add_int(ppts, "transition_point",
|
||||
obs_module_text("TransitionPoint"), 0, 120000,
|
||||
1);
|
||||
|
|
Loading…
Reference in a new issue