diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-20 14:14:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-08 00:35:29 +0100 |
| commit | d39880eef211a296fa8ef4712cdef5945d08527c (patch) | |
| tree | 45dce8f3e1fd599ca76677e31eee2a71c9a4fbc1 /src/smpte_subtitle_asset.h | |
| parent | 75faebaf1d74e2b52360905e94e9f5bf31c34124 (diff) | |
std::shared_ptr
Diffstat (limited to 'src/smpte_subtitle_asset.h')
| -rw-r--r-- | src/smpte_subtitle_asset.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/smpte_subtitle_asset.h b/src/smpte_subtitle_asset.h index 1f2215a8..b66b1ea6 100644 --- a/src/smpte_subtitle_asset.h +++ b/src/smpte_subtitle_asset.h @@ -65,16 +65,16 @@ public: explicit SMPTESubtitleAsset (boost::filesystem::path file); bool equals ( - boost::shared_ptr<const Asset>, + std::shared_ptr<const Asset>, EqualityOptions, NoteHandler note ) const; - std::list<boost::shared_ptr<LoadFontNode> > load_font_nodes () const; + std::list<std::shared_ptr<LoadFontNode> > load_font_nodes () const; std::string xml_as_string () const; void write (boost::filesystem::path path) const; - void add (boost::shared_ptr<Subtitle>); + void add (std::shared_ptr<Subtitle>); void add_font (std::string id, dcp::ArrayData data); void set_key (Key key); @@ -173,9 +173,9 @@ private: friend struct ::write_smpte_subtitle_test; friend struct ::write_smpte_subtitle_test2; - void read_fonts (boost::shared_ptr<ASDCP::TimedText::MXFReader>); - void parse_xml (boost::shared_ptr<cxml::Document> xml); - void read_mxf_descriptor (boost::shared_ptr<ASDCP::TimedText::MXFReader> reader, boost::shared_ptr<DecryptionContext> dec); + void read_fonts (std::shared_ptr<ASDCP::TimedText::MXFReader>); + void parse_xml (std::shared_ptr<cxml::Document> xml); + void read_mxf_descriptor (std::shared_ptr<ASDCP::TimedText::MXFReader> reader, std::shared_ptr<DecryptionContext> dec); /** The total length of this content in video frames. The amount of * content presented may be less than this. @@ -194,7 +194,7 @@ private: int _time_code_rate; boost::optional<Time> _start_time; - std::list<boost::shared_ptr<SMPTELoadFontNode> > _load_font_nodes; + std::list<std::shared_ptr<SMPTELoadFontNode> > _load_font_nodes; /** UUID for the XML inside the MXF, which should be different to the ID of the MXF according to * Doremi's 2.8.18 release notes. */ |
