From ca981c8cfa23111e92be329f1c2dfbe3a07b4247 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 19 Jun 2020 13:30:02 +0200 Subject: Make Atmos content work more like other content. Now its MXFs are re-written, meaning that they can be encrypted. This (along with the libdcp update) also fixes assorted Atmos bugs. --- src/lib/writer.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/lib/writer.h') diff --git a/src/lib/writer.h b/src/lib/writer.h index d09b06264..71e04df96 100644 --- a/src/lib/writer.h +++ b/src/lib/writer.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2019 Carl Hetherington + Copyright (C) 2012-2020 Carl Hetherington This file is part of DCP-o-matic. @@ -22,10 +22,12 @@ * @brief Writer class. */ +#include "atmos_metadata.h" #include "types.h" #include "player_text.h" #include "exception_store.h" #include "dcp_text_track.h" +#include #include #include #include @@ -111,6 +113,7 @@ public: void write (PlayerText text, TextType type, boost::optional, dcpomatic::DCPTimePeriod period); void write (std::list > fonts); void write (ReferencedReelAsset asset); + void write (boost::shared_ptr atmos, dcpomatic::DCPTime time, AtmosMetadata metadata); void finish (); void set_encoder_threads (int threads); @@ -130,6 +133,7 @@ private: std::vector::iterator _audio_reel; std::vector::iterator _subtitle_reel; std::map::iterator> _caption_reels; + std::vector::iterator _atmos_reel; /** our thread */ boost::thread _thread; -- cgit v1.2.3