summaryrefslogtreecommitdiff
path: root/src/reel_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-29 11:55:10 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-29 11:55:10 +0100
commit367b43df1630a5e4e4173fb50e234803f248f00f (patch)
treee115091f93b20fa1fbb1f2c16a2bdf26c9e73e63 /src/reel_asset.h
parent9f75a44df591954519ac828a1b50b6d5ebd2a3a1 (diff)
Allow CCAP reel nodes to have language tags.
Diffstat (limited to 'src/reel_asset.h')
-rw-r--r--src/reel_asset.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/reel_asset.h b/src/reel_asset.h
index af367cd3..42409ab9 100644
--- a/src/reel_asset.h
+++ b/src/reel_asset.h
@@ -69,7 +69,7 @@ public:
ReelAsset (boost::shared_ptr<Asset> asset, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point);
explicit ReelAsset (boost::shared_ptr<const cxml::Node>);
- virtual void write_to_cpl (xmlpp::Node* node, Standard standard) const;
+ virtual xmlpp::Node* write_to_cpl (xmlpp::Node* node, Standard standard) const;
virtual bool equals (boost::shared_ptr<const ReelAsset>, EqualityOptions, NoteHandler) const;
/** @return a Ref to our actual asset */
@@ -113,6 +113,10 @@ public:
return _hash;
}
+ std::string annotation_text () const {
+ return _annotation_text;
+ }
+
void set_annotation_text (std::string at) {
_annotation_text = at;
}