win-dshow: Add tooltip to "Use Buffering" option

This commit is contained in:
jp9000 2016-09-11 03:15:09 -07:00
parent 2b4bf21416
commit 001f3c751b
2 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,7 @@ AudioOutputMode.WaveOut="Output desktop audio (WaveOut)"
UseCustomAudioDevice="Use custom audio device"
AudioDevice="Audio Device"
Buffering="Buffering"
Buffering.ToolTip="When enabled, buffers video/audio data to ensure the smoothest and most\naccurate playback possible, but at the cost of increased latency. When using\nbuffering with a video capture card, it's recommended to set the card and the\nprogram to the same framerate for best results.\n\nWhen disabled, ensures lowest latency playback, but at the cost of frame\nplayback accuracy. This is ideal for face cameras, or when you want to use the\nprogram's preview window to play a console.\n\nAuto-detect (default) sets it to enabled if the device has delay, and disabled\nif it has no delay."
Buffering.AutoDetect="Auto-Detect"
Buffering.Enable="Enable"
Buffering.Disable="Disable"

View File

@ -1794,6 +1794,9 @@ static obs_properties_t *GetDShowProperties(void *obj)
obs_property_list_add_int(p, TEXT_BUFFERING_OFF,
(int64_t)BufferingType::Off);
obs_property_set_long_description(p,
obs_module_text("Buffering.ToolTip"));
obs_properties_add_bool(ppts, FLIP_IMAGE, TEXT_FLIP_IMAGE);
/* ------------------------------------- */