diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-09-18 08:17:55 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-09-18 08:17:55 +0100 |
| commit | e436b324ed19b91008fdb56262f99f6d0269cabe (patch) | |
| tree | 1e6acf299930ddeeccdfa447d4fc7b2f52f5720d | |
| parent | 1bb067620edd3fb0db37894975f3a19d595697db (diff) | |
Allow progressive writes to be encrypted.
| -rw-r--r-- | src/picture_asset.cc | 8 | ||||
| -rw-r--r-- | src/picture_asset.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/picture_asset.cc b/src/picture_asset.cc index 2c35e9f9..1c480348 100644 --- a/src/picture_asset.cc +++ b/src/picture_asset.cc @@ -222,8 +222,8 @@ MonoPictureAsset::MonoPictureAsset ( construct (boost::bind (&MonoPictureAsset::path_from_list, this, _1, files), interop, metadata); } -MonoPictureAsset::MonoPictureAsset (string directory, string mxf_name, int fps, Size size) - : PictureAsset (directory, mxf_name, 0, fps, 0, false, size) +MonoPictureAsset::MonoPictureAsset (string directory, string mxf_name, int fps, Size size, bool encrypted) + : PictureAsset (directory, mxf_name, 0, fps, 0, encrypted, size) { } @@ -472,8 +472,8 @@ PictureAsset::key_type () const return "MDIK"; } -StereoPictureAsset::StereoPictureAsset (string directory, string mxf_name, int fps, Size size) - : PictureAsset (directory, mxf_name, 0, fps, 0, false, size) +StereoPictureAsset::StereoPictureAsset (string directory, string mxf_name, int fps, Size size, bool encrypted) + : PictureAsset (directory, mxf_name, 0, fps, 0, encrypted, size) { } diff --git a/src/picture_asset.h b/src/picture_asset.h index 2af1f69a..7fcc2efb 100644 --- a/src/picture_asset.h +++ b/src/picture_asset.h @@ -166,7 +166,7 @@ public: * @param fps Video frames per second. * @param size Size in pixels that the picture frames will be. */ - MonoPictureAsset (std::string directory, std::string mxf_name, int fps, Size size); + MonoPictureAsset (std::string directory, std::string mxf_name, int fps, Size size, bool encrypted); /** Start a progressive write to a MonoPictureAsset */ boost::shared_ptr<PictureAssetWriter> start_write (bool, bool, MXFMetadata const & metadata = MXFMetadata ()); @@ -195,7 +195,7 @@ public: * @param fps Video frames per second. * @param size Size in pixels that the picture frames will be. */ - StereoPictureAsset (std::string directory, std::string mxf_name, int fps, Size size); + StereoPictureAsset (std::string directory, std::string mxf_name, int fps, Size size, bool encrypted); /** Start a progressive write to a StereoPictureAsset */ boost::shared_ptr<PictureAssetWriter> start_write (bool, bool, MXFMetadata const & metadata = MXFMetadata ()); |
