diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-11-09 21:02:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-11-09 21:02:40 +0100 |
| commit | 5e04a581436e6bbaa3057bedfea737b07dba37de (patch) | |
| tree | 90d8ae51916814a56d28f267b046611b7a28c5a2 /src/lib/ffmpeg_examiner.cc | |
| parent | 6b584fcc09138558639d53b4b1c7c7e6e65e776f (diff) | |
Add some more logging for examine content.stephan
Diffstat (limited to 'src/lib/ffmpeg_examiner.cc')
| -rw-r--r-- | src/lib/ffmpeg_examiner.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_examiner.cc b/src/lib/ffmpeg_examiner.cc index d2e1c9d40..66d6c399e 100644 --- a/src/lib/ffmpeg_examiner.cc +++ b/src/lib/ffmpeg_examiner.cc @@ -63,6 +63,8 @@ static const int PULLDOWN_CHECK_FRAMES = 16; FFmpegExaminer::FFmpegExaminer(shared_ptr<const FFmpegContent> c, shared_ptr<Job> job) : FFmpeg(c) { + LOG_GENERAL_NC("Starting FFmpegExaminer constructor"); + _need_length = _format_context->duration == AV_NOPTS_VALUE; /* Find audio and subtitle streams */ @@ -116,6 +118,7 @@ FFmpegExaminer::FFmpegExaminer(shared_ptr<const FFmpegContent> c, shared_ptr<Job string temporal_reference; bool carry_on_video = has_video(); std::vector<bool> carry_on_audio(_audio_streams.size(), true); + LOG_GENERAL_NC("Looking for interesting things"); while (true) { auto packet = av_packet_alloc(); DCPOMATIC_ASSERT(packet); @@ -171,6 +174,7 @@ FFmpegExaminer::FFmpegExaminer(shared_ptr<const FFmpegContent> c, shared_ptr<Job } } } + LOG_GENERAL_NC("Looking for interesting things finished"); if (_video_stream) { auto context = _codec_context[_video_stream.get()]; @@ -212,6 +216,7 @@ FFmpegExaminer::FFmpegExaminer(shared_ptr<const FFmpegContent> c, shared_ptr<Job } check_for_duplicate_ids(); + LOG_GENERAL_NC("Ending FFmpegExaminer constructor"); } void |
