diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-06 20:30:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-06 20:30:19 +0100 |
| commit | dcccb2dd1d180b8be67e539395dccbe82b0fb5a8 (patch) | |
| tree | 53b76a2df1343e5896bc9462ec8661179ede2ee3 /src/picture_asset.h | |
| parent | 5f71c3f0a7a041b3621f7325915d1105424f7e53 (diff) | |
Move some CPL writing from picture/sound assets to the MXF. Pick up key_id from CPL assets and hence provide and test for encrypted() method on DCP.
Diffstat (limited to 'src/picture_asset.h')
| -rw-r--r-- | src/picture_asset.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/picture_asset.h b/src/picture_asset.h index 08f892ed..cc99ddbc 100644 --- a/src/picture_asset.h +++ b/src/picture_asset.h @@ -59,21 +59,16 @@ public: */ PictureAsset (std::string directory, std::string mxf_name, boost::signals2::signal<void (float)>* progress, int fps, int intrinsic_duration, bool encrypted, Size); - /** Write details of this asset to a CPL XML node. - * @param node Node. - */ - void write_to_cpl (xmlpp::Node* node) const; - bool equals (boost::shared_ptr<const Asset> other, EqualityOptions opt, boost::function<void (NoteType, std::string)> note) const; Size size () const { return _size; } + void write_to_cpl (xmlpp::Node *) const; + protected: - std::string key_type () const; - bool frame_buffer_equals ( int frame, EqualityOptions opt, boost::function<void (NoteType, std::string)> note, uint8_t const * data_A, unsigned int size_A, uint8_t const * data_B, unsigned int size_B @@ -81,6 +76,10 @@ protected: /** picture size in pixels */ Size _size; + +private: + std::string key_type () const; + std::string cpl_node_name () const; }; class MonoPictureAsset; |
