summaryrefslogtreecommitdiff
path: root/src/lib/player.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-12 15:22:28 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-15 23:49:51 +0200
commit26678a922a1808db33954e002c165678d8191fc6 (patch)
tree03404face5f2db2e4afae05de84fe2fd884a02d4 /src/lib/player.h
parent6d88d2246881d0fd8828786dd4a25a73fafe575e (diff)
Get DCP transcode progress from the player (#2804).
Diffstat (limited to 'src/lib/player.h')
-rw-r--r--src/lib/player.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/player.h b/src/lib/player.h
index 94e41bbca..43c46945c 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -90,6 +90,7 @@ public:
bool pass ();
void seek (dcpomatic::DCPTime time, bool accurate);
+ Frame frames_done() const;
std::vector<std::shared_ptr<dcpomatic::Font>> get_subtitle_fonts ();
@@ -155,6 +156,7 @@ private:
dcpomatic::ContentTime dcp_to_content_time (std::shared_ptr<const Piece> piece, dcpomatic::DCPTime t) const;
dcpomatic::DCPTime content_time_to_dcp (std::shared_ptr<const Piece> piece, dcpomatic::ContentTime t) const;
std::shared_ptr<PlayerVideo> black_player_video_frame (Eyes eyes) const;
+ std::pair<std::shared_ptr<Piece>, boost::optional<dcpomatic::DCPTime>> earliest_piece_and_time() const;
void video (std::weak_ptr<Piece>, ContentVideo);
void audio (std::weak_ptr<Piece>, AudioStreamPtr, ContentAudio);