diff options
Diffstat (limited to 'src/lib/video_decoder.cc')
| -rw-r--r-- | src/lib/video_decoder.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc index 63cf02187..01d33cd68 100644 --- a/src/lib/video_decoder.cc +++ b/src/lib/video_decoder.cc @@ -37,12 +37,11 @@ using boost::shared_ptr; using boost::optional; VideoDecoder::VideoDecoder (Decoder* parent, shared_ptr<const Content> c, shared_ptr<Log> log) - : DecoderPart (parent) + : DecoderPart (parent, log) #ifdef DCPOMATIC_DEBUG , test_gaps (0) #endif , _content (c) - , _log (log) , _last_seek_accurate (true) { _black_image.reset (new Image (AV_PIX_FMT_RGB24, _content->video->size(), true)); @@ -90,6 +89,7 @@ VideoDecoder::get (Frame frame, bool accurate) */ seek_frame *= 2; } + _log->log (String::compose ("VD suggests seek to %1", seek_frame), LogEntry::TYPE_DEBUG_DECODE); maybe_seek (ContentTime::from_frames (seek_frame, _content->active_video_frame_rate()), accurate); } |
