diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-11-20 23:58:51 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-11-20 23:58:51 +0000 |
| commit | 878e19aabf2278828a3c9b518e0804b2cef0c01e (patch) | |
| tree | 1929355377edc46d25e6f9635d259ae7092ac3ef /src/lib/video_decoder.cc | |
| parent | 4337694dfd488e88f56b63898ad35ce8ce9bb3c3 (diff) | |
Some more decode logging.
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); } |
