From: Carl Hetherington Date: Sat, 27 Jul 2019 00:46:43 +0000 (+0000) Subject: Add some debug. X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=4617084ed42df3b779ea7401b08a1ac68ce16f9e Add some debug. --- 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 #include #include @@ -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()) {