summaryrefslogtreecommitdiff
path: root/src/smpte_subtitle_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-05 20:38:32 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-05 20:38:32 +0100
commitc5dfc40e4a75ebdecc486938b5f7bf4950aa119f (patch)
tree1fc34db16b0435bf54518fdf75c87b91ee07f5a1 /src/smpte_subtitle_asset.h
parent8afa509d1419927803b24516c6dd86e75d1a7801 (diff)
Restore ability to read SMPTE subs from XML files.
Diffstat (limited to 'src/smpte_subtitle_asset.h')
-rw-r--r--src/smpte_subtitle_asset.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/smpte_subtitle_asset.h b/src/smpte_subtitle_asset.h
index 444c53e6..1b67dd15 100644
--- a/src/smpte_subtitle_asset.h
+++ b/src/smpte_subtitle_asset.h
@@ -26,6 +26,12 @@
#include "mxf.h"
#include <boost/filesystem.hpp>
+namespace ASDCP {
+ namespace TimedText {
+ class MXFReader;
+ }
+}
+
namespace dcp {
class SMPTELoadFontNode;
@@ -121,6 +127,8 @@ protected:
}
private:
+ void read_fonts (boost::shared_ptr<ASDCP::TimedText::MXFReader>);
+
std::string _content_title_text;
boost::optional<std::string> _language;
boost::optional<std::string> _annotation_text;