win-dshow: Add buffering options

Allow the user to select whether to buffer the source or not.  The
settings are auto-detect, on, and off.  Auto-Detect turns it off for
non-encoded devices, and on for encoded devices.

Webcams, internal devices, and other such things on windows do not
really need to be buffered, and buffering incurs a tiny bit of delay, so
turning off buffering is actually a little better for non-encoded
devices.
This commit is contained in:
jp9000
2014-12-31 21:59:46 -08:00
parent a87fe6d783
commit d6e98829ca
2 changed files with 56 additions and 0 deletions

View File

@@ -15,6 +15,10 @@ VideoFormat.Any="Any"
VideoFormat.Unknown="Unknown (%1)"
UseCustomAudioDevice="Use custom audio device"
AudioDevice="Audio Device"
Buffering="Buffering"
Buffering.AutoDetect="Auto-Detect"
Buffering.Enable="Enable"
Buffering.Disable="Disable"
# encoder text
Bitrate="Bitrate"