summaryrefslogtreecommitdiff
path: root/src/lib/dcp_examiner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dcp_examiner.h')
-rw-r--r--src/lib/dcp_examiner.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h
index b51e7ae7a..1a3615867 100644
--- a/src/lib/dcp_examiner.h
+++ b/src/lib/dcp_examiner.h
@@ -90,6 +90,10 @@ public:
return _audio_channels.get_value_or (0);
}
+ int active_audio_channels() const {
+ return _active_audio_channels.get_value_or(0);
+ }
+
Frame audio_length () const override {
return _audio_length;
}
@@ -179,6 +183,7 @@ private:
boost::optional<dcp::Size> _video_size;
Frame _video_length = 0;
boost::optional<int> _audio_channels;
+ boost::optional<int> _active_audio_channels;
boost::optional<int> _audio_frame_rate;
Frame _audio_length = 0;
std::string _name;