From: Carl Hetherington Date: Tue, 27 Feb 2018 22:36:09 +0000 (+0000) Subject: Add a hint to warn about the stereo-to-5.1 upmixers. X-Git-Tag: v2.13.0~35 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=2203c698eb6661a1f531b0708757354fc8cc9784 Add a hint to warn about the stereo-to-5.1 upmixers. --- diff --git a/ChangeLog b/ChangeLog index 538e6c9c5..21492e29c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-02-27 Carl Hetherington + + * Add a hint about the stereo-to-5.1 upmixers being + `experimental'. + 2018-02-25 Carl Hetherington * Updated es_ES translation from Manuel AC. diff --git a/src/lib/hints.cc b/src/lib/hints.cc index b5edd7cc4..62e04f499 100644 --- a/src/lib/hints.cc +++ b/src/lib/hints.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2016-2017 Carl Hetherington + Copyright (C) 2016-2018 Carl Hetherington This file is part of DCP-o-matic. @@ -24,6 +24,7 @@ #include "content.h" #include "video_content.h" #include "subtitle_content.h" +#include "audio_processor.h" #include "font.h" #include "ratio.h" #include "audio_analysis.h" @@ -76,6 +77,11 @@ get_hints (shared_ptr film) hints.push_back (_("Your DCP has fewer than 6 audio channels. This may cause problems on some projectors.")); } + AudioProcessor const * ap = film->audio_processor(); + if (ap && (ap->id() == "stereo-5.1-upmix-a" || ap->id() == "stereo-5.1-upmix-b")) { + hints.push_back (_("You are using DCP-o-matic's stereo-to-5.1 upmixer. This is experimental and may result in poor-quality audio. If you continue, you should listen to the resulting DCP in a cinema to make sure that it sounds good.")); + } + int flat_or_narrower = 0; int scope = 0; BOOST_FOREACH (shared_ptr i, content) {