diff options
author | wm4 <wm4@nowhere> | 2015-10-06 20:17:49 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-06 20:21:29 +0200 |
commit | 0a41c6f0ec1adeb4e627daeddb474c0c9bdad008 (patch) | |
tree | 3b3375c2f57651beac2d02aea70e6325bffae2ac /audio/decode | |
parent | 66aa54d319755589e846efe53f917d2667219e1a (diff) | |
download | mpv-0a41c6f0ec1adeb4e627daeddb474c0c9bdad008.tar.bz2 mpv-0a41c6f0ec1adeb4e627daeddb474c0c9bdad008.tar.xz |
audio: make spdif re-probe from normal decoding work
The previous commit handled not falling back to normal decoding if the
AO was reloaded (I think...), and this tries to re-engage spdif pass-
through if it was previously falling back to normal decoding (e.g.
because it temporarily switched to an audio device incapable of
passthrough).
Diffstat (limited to 'audio/decode')
-rw-r--r-- | audio/decode/dec_audio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/decode/dec_audio.h b/audio/decode/dec_audio.h index 6d7dd18bc8..0f7f4d239d 100644 --- a/audio/decode/dec_audio.h +++ b/audio/decode/dec_audio.h @@ -30,7 +30,7 @@ struct dec_audio { struct mp_log *log; struct MPOpts *opts; struct mpv_global *global; - bool spdif_passthrough; + bool spdif_passthrough, spdif_failed; const struct ad_functions *ad_driver; struct sh_stream *header; struct af_stream *afilter; |