summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-07-27 00:46:43 +0000
committerCarl Hetherington <cth@carlh.net>2019-07-27 00:46:43 +0000
commit4617084ed42df3b779ea7401b08a1ac68ce16f9e (patch)
tree90629499c482a1766ab56781ce43ecf5321c9dc8 /src
parent7ed87e7e155154c9487e16d94cba85b6fa8b2d43 (diff)
Add some debug.debug/cgpost
Diffstat (limited to 'src')
-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 cfe0e0d22..f43ede5d9 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -48,6 +48,7 @@
#include "image_decoder.h"
#include "compose.hpp"
#include "shuffler.h"
+#include "dcpomatic_log.h"
#include <dcp/reel.h>
#include <dcp/reel_sound_asset.h>
#include <dcp/reel_subtitle_asset.h>
@@ -637,6 +638,7 @@ Player::pass ()
or after this silence. Bodge the start time of the silence to fix it.
*/
//cgpost test... DCPOMATIC_ASSERT (labs(period.from.get() - _last_audio_time->get()) < 2);
+ LOG_GENERAL("silence difference was %1", labs(period.from.get() - _last_audio_time->get()));
period.from = *_last_audio_time;
}
if (period.duration() > one_video_frame()) {