summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-18 23:34:48 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-19 09:54:43 +0100
commitd36b320c0a3d0ba0951eea486578275b3738a687 (patch)
tree9744462302423282c5907dba2f8b7c8a3291b6ad /src/lib
parent41121af9e1eb611ebab1f8e8077dbbc7ab3c421a (diff)
Add some more logs to the LOG_DEBUG_PLAYER set.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/player.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc
index 3402cc12b..6f9b70d0a 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -881,6 +881,7 @@ Player::pass ()
}
if (done) {
+ LOG_DEBUG_PLAYER("Done: emit video until end of film at %1", to_string(film->length()));
emit_video_until(film->length());
if (_shuffler) {
@@ -953,6 +954,7 @@ Player::open_subtitles_for_frame (DCPTime time) const
void
Player::emit_video_until(DCPTime time)
{
+ LOG_DEBUG_PLAYER("emit_video_until %1; next video time is %2", to_string(time), to_string(_next_video_time.get_value_or({})));
auto frame = [this](shared_ptr<PlayerVideo> pv, DCPTime time) {
/* We need a delay to give a little wiggle room to ensure that relevant subtitles arrive at the
player before the video that requires them.