diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-12 14:06:37 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-12 18:29:09 +0200 |
commit | 3d999246e446995cd0ae508303ceeaa2f11836ad (patch) | |
tree | ce4d6adb832ffb69e7a0ec5c6ba783c25d4ef49a /defaultopts.c | |
parent | a66cce61ad0d62c9b4c24a9262b7182f865aca5b (diff) | |
download | mpv-3d999246e446995cd0ae508303ceeaa2f11836ad.tar.bz2 mpv-3d999246e446995cd0ae508303ceeaa2f11836ad.tar.xz |
audio: add -gapless-audio option
If the option is enabled and all audio has been buffered to the AO,
then the player will move to the next file without waiting for the
buffered audio to drain, while leaving the AO initialized. If the
playback of the next file starts quickly enough (before the AO buffer
empties) then it should continue writing audio to the same AO with no
gap in between.
Diffstat (limited to 'defaultopts.c')
-rw-r--r-- | defaultopts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/defaultopts.c b/defaultopts.c index cac97c04dd..1314e21f28 100644 --- a/defaultopts.c +++ b/defaultopts.c @@ -10,6 +10,7 @@ void set_default_mplayer_options(struct MPOpts *opts) .audio_driver_list = NULL, .video_driver_list = NULL, .fixed_vo = 1, + .ao_buffersize = -1, .monitor_pixel_aspect = 1.0, .vo_panscanrange = 1.0, .vo_gamma_gamma = 1000, |