diff options
author | wm4 <wm4@nowhere> | 2016-08-09 16:22:06 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-08-09 17:09:29 +0200 |
commit | eab92cec60d92e0de2ea53d4d01052f4d7acc5d5 (patch) | |
tree | cb6202b24b7407283dd5f28e650d3fc869a7e33d /audio/out/ao.c | |
parent | 3759a3f40bed92b161342532445718906f903234 (diff) | |
download | mpv-eab92cec60d92e0de2ea53d4d01052f4d7acc5d5.tar.bz2 mpv-eab92cec60d92e0de2ea53d4d01052f4d7acc5d5.tar.xz |
player: add --audio-stream-silence
Completely insane that this has to be done. Crap for compensating HDMI
crap.
Diffstat (limited to 'audio/out/ao.c')
-rw-r--r-- | audio/out/ao.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c index 0647067e50..cf66e0c64b 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -183,6 +183,8 @@ static struct ao *ao_init(bool probing, struct mpv_global *global, ao->api_priv = talloc_zero_size(ao, ao->api->priv_size); assert(!ao->api->priv_defaults && !ao->api->options); + ao->stream_silence = flags & AO_INIT_STREAM_SILENCE; + int r = ao->driver->init(ao); if (r < 0) { // Silly exception for coreaudio spdif redirection |