summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-06-19 13:30:02 +0200
committerCarl Hetherington <cth@carlh.net>2020-06-19 13:42:24 +0200
commita0c931b6bfb05b56996a75bbfcf378cd44ef18e1 (patch)
treed02d8cb5ef0fd0f8ce0751bf17fab9c98ffd1868 /src/lib/content.h
parentcabe0934c60fb6e74bf4c3023bdcb5c68753e5d9 (diff)
Make Atmos content work more like other content. Now its MXFsencrypt-atmos
are re-written, meaning that they can be encrypted. This commit is mostly just for the backend. We also need a fair few checks/restrictions in the UI: - any present atmos content dictates the project frame rate - no mixed edit rates of atmos content - probably some other things I haven't thought of
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index a2d78aa68..5f8e9f53d 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -46,6 +46,7 @@ namespace cxml {
class Job;
class Film;
+class AtmosContent;
class ContentProperty
{
@@ -190,6 +191,7 @@ public:
boost::shared_ptr<VideoContent> video;
boost::shared_ptr<AudioContent> audio;
std::list<boost::shared_ptr<TextContent> > text;
+ boost::shared_ptr<AtmosContent> atmos;
boost::shared_ptr<TextContent> only_text () const;
boost::shared_ptr<TextContent> text_of_original_type (TextType type) const;