summaryrefslogtreecommitdiff
path: root/src/lib/player.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-12 15:38:31 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-15 23:49:51 +0200
commit61130610f6d01fe6b1682d91933eb7dbbb1eac76 (patch)
treee7f4c721a1c8d7643681d61447123bd1852bfc92 /src/lib/player.h
parent26678a922a1808db33954e002c165678d8191fc6 (diff)
Update DCP encoder progress on all passe()es, not just when audio is emitted.
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 43c46945c..48f6f97ca 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -91,6 +91,7 @@ public:
bool pass ();
void seek (dcpomatic::DCPTime time, bool accurate);
Frame frames_done() const;
+ float progress() const;
std::vector<std::shared_ptr<dcpomatic::Font>> get_subtitle_fonts ();