summaryrefslogtreecommitdiff
path: root/src/lib/player.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-04 22:56:46 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-04 22:56:46 +0100
commit276a8f49c94cc80a7b29d5ecd8c7584e7ddcd87c (patch)
treeebc33b78c70b83d8ae51082b1e2d7aefa57e8cde /src/lib/player.h
parent29c0f7573ddab036f6219c88333a3404db736fd3 (diff)
Fix subtitle timing under trim.
Diffstat (limited to 'src/lib/player.h')
-rw-r--r--src/lib/player.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/player.h b/src/lib/player.h
index e52ad59c2..9bb84a11c 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -87,6 +87,7 @@ private:
DCPTime content_video_to_dcp (boost::shared_ptr<const Piece> piece, Frame f) const;
Frame dcp_to_resampled_audio (boost::shared_ptr<const Piece> piece, DCPTime t) const;
ContentTime dcp_to_content_subtitle (boost::shared_ptr<const Piece> piece, DCPTime t) const;
+ DCPTime content_subtitle_to_dcp (boost::shared_ptr<const Piece> piece, ContentTime t) const;
boost::shared_ptr<PlayerVideo> black_player_video_frame (DCPTime) const;
/** @return Pieces of content type C that overlap a specified time range in the DCP */