From 0a41c6f0ec1adeb4e627daeddb474c0c9bdad008 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 6 Oct 2015 20:17:49 +0200 Subject: 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). --- audio/decode/dec_audio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio') 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; -- cgit v1.2.3