summaryrefslogtreecommitdiff
path: root/src/lib/film.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/film.h')
-rw-r--r--src/lib/film.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/film.h b/src/lib/film.h
index 1d1034775..e9c043b72 100644
--- a/src/lib/film.h
+++ b/src/lib/film.h
@@ -152,8 +152,6 @@ public:
std::vector<CPLSummary> cpls () const;
- int audio_frame_rate () const;
-
std::list<DCPTextTrack> closed_caption_tracks () const;
uint64_t required_disk_space () const;
@@ -233,6 +231,7 @@ public:
ENCRYPTED,
J2K_BANDWIDTH,
VIDEO_FRAME_RATE,
+ AUDIO_FRAME_RATE,
AUDIO_CHANNELS,
/** The setting of _three_d has changed */
THREE_D,
@@ -417,6 +416,10 @@ public:
return _isdcf_date;
}
+ int audio_frame_rate () const {
+ return _audio_frame_rate;
+ }
+
/* SET */
void set_directory (boost::filesystem::path);
@@ -463,6 +466,7 @@ public:
void set_distributor (boost::optional<std::string> d = boost::none);
void set_luminance (boost::optional<dcp::Luminance> l = boost::none);
void set_audio_language (boost::optional<dcp::LanguageTag> language);
+ void set_audio_frame_rate (int rate);
void add_ffoc_lfoc (Markers& markers) const;
@@ -570,6 +574,7 @@ private:
bool _two_d_version_of_three_d = false;
boost::optional<dcp::Luminance> _luminance;
boost::optional<dcp::LanguageTag> _audio_language;
+ int _audio_frame_rate = 48000;
int _state_version;