summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-06-06 19:36:24 +0200
committerCarl Hetherington <cth@carlh.net>2023-06-06 19:36:26 +0200
commitd860d9de91607aad3561e087fe83c2290ec5d42c (patch)
tree56311538b8082903ff25e880377f9caebd2645ba /src/lib/dcp_content.h
parent606b342315995f8e5cc28f6ea13bef9858038d5f (diff)
Fix player audio, almost totally broken by a stupid mistakev2.16.59
in 78b2c650a9249cb7165d269b4378391d31e68e8b Following that commit 16 channel audio streams were being read as 6-channel, with unsurprising consequences.
Diffstat (limited to 'src/lib/dcp_content.h')
-rw-r--r--src/lib/dcp_content.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h
index 96ae09521..fd78cd0ac 100644
--- a/src/lib/dcp_content.h
+++ b/src/lib/dcp_content.h
@@ -174,6 +174,8 @@ public:
return _content_versions;
}
+ int active_audio_channels() const;
+
void check_font_ids();
private:
@@ -225,6 +227,8 @@ private:
std::map<dcp::Marker, dcpomatic::ContentTime> _markers;
std::vector<dcp::Rating> _ratings;
std::vector<std::string> _content_versions;
+
+ boost::optional<int> _active_audio_channels;
};