From 879ebe06554fdd5ed968c3b7ba35488fe0e6017b Mon Sep 17 00:00:00 2001 From: Wessel Dankers Date: Sun, 3 Mar 2013 18:48:20 +0100 Subject: Add a --dtshd option The spdif decoder was hardcoded to assume that the spdif output is capable of accepting high (>1.5Mbps) bitrates. While this is true for modern HDMI spdif interfaces, the original coax/toslink system cannot deal with this and will fail to work. This patch adds an option --dtshd which can be enabled if you use a DTS-capable receiver behind a HDMI link. --- core/cfg-mplayer.h | 1 + core/options.h | 1 + 2 files changed, 2 insertions(+) (limited to 'core') diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h index 32058e92b6..6a3d75ce21 100644 --- a/core/cfg-mplayer.h +++ b/core/cfg-mplayer.h @@ -441,6 +441,7 @@ const m_option_t common_opts[] = { OPT_STRING("ad", audio_decoders, 0), OPT_STRING("vd", video_decoders, 0), + OPT_FLAG("dtshd", dtshd, 0), OPT_CHOICE("hwdec", hwdec_api, 0, ({"no", 0}, diff --git a/core/options.h b/core/options.h index c9517f0ead..9f54598361 100644 --- a/core/options.h +++ b/core/options.h @@ -132,6 +132,7 @@ typedef struct MPOpts { int audio_output_channels; int audio_output_format; + int dtshd; float playback_speed; float drc_level; struct m_obj_settings *vf_settings; -- cgit v1.2.3