summaryrefslogtreecommitdiff
path: root/src/lib/piece.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/piece.cc')
-rw-r--r--src/lib/piece.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/piece.cc b/src/lib/piece.cc
index 16fcb32bc..ca92f1db5 100644
--- a/src/lib/piece.cc
+++ b/src/lib/piece.cc
@@ -33,6 +33,7 @@
using std::dynamic_pointer_cast;
using std::make_shared;
using std::shared_ptr;
+using std::vector;
using boost::optional;
using namespace dcpomatic;
@@ -255,3 +256,9 @@ Piece::decoder_before(shared_ptr<const Film> film, optional<dcpomatic::DCPTime>
return {};
}
+vector<dcpomatic::FontData>
+Piece::fonts () const
+{
+ return decoder->fonts();
+}
+