Allow SoundAsset to be encrypted.
authorCarl Hetherington <cth@carlh.net>
Thu, 19 Sep 2013 14:07:21 +0000 (15:07 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 19 Sep 2013 14:07:21 +0000 (15:07 +0100)
src/sound_asset.cc
src/sound_asset.h
src/wscript

index 51f49d0ec8cc9b77ae4dd982a15e46859c1b7fed..29fbc0d7425e0d8faf9b8b405c84cc407762bb68 100644 (file)
@@ -104,8 +104,8 @@ SoundAsset::SoundAsset (string directory, string mxf_name)
        _intrinsic_duration = desc.ContainerDuration;
 }
 
-SoundAsset::SoundAsset (string directory, string mxf_name, int fps, int channels, int sampling_rate)
-       : MXFAsset (directory, mxf_name, 0, fps, 0, false)
+SoundAsset::SoundAsset (string directory, string mxf_name, int fps, int channels, int sampling_rate, bool encrypted)
+       : MXFAsset (directory, mxf_name, 0, fps, 0, encrypted)
        , _channels (channels)
        , _sampling_rate (sampling_rate)
 {
index b7542c735ee8104e6a4e78da1439785f30a086af..cf015c30cfccdf3aed1b6c4bf5c56f74ad68a1a5 100644 (file)
@@ -128,7 +128,8 @@ public:
                std::string mxf_name,
                int fps,
                int channels,
-               int sampling_rate
+               int sampling_rate,
+               bool encrypted
                );
 
        boost::shared_ptr<SoundAssetWriter> start_write (bool, MXFMetadata const & metadata = MXFMetadata ());
index 70fd179405ba57282635fd76766fbccc46d66039..904b367da57ad6d300d402a940f24eb9343c455e 100644 (file)
@@ -66,6 +66,7 @@ def build(bld):
               rec709_linearised_gamma_lut.h
               reel.h
               argb_frame.h
+              signer.h
               signer_chain.h
               sound_asset.h
               sound_frame.h