diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-09-24 17:55:16 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-24 17:55:16 +0200 |
| commit | c1f8d735ee7b2cc17a5685cb4c513baaf5bbf839 (patch) | |
| tree | 5c6dbe0725cad6abe7f417b97bc22368be156f75 /src | |
| parent | 3ed79bd632560efcc3a0f3992eeb9868b315be58 (diff) | |
Some more logging around fread.fread-logging
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/file_group.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/file_group.cc b/src/lib/file_group.cc index 56a5c2c59..c0d7e5af9 100644 --- a/src/lib/file_group.cc +++ b/src/lib/file_group.cc @@ -27,6 +27,7 @@ #include "compose.hpp" #include "cross.h" #include "dcpomatic_assert.h" +#include "dcpomatic_log.h" #include "exceptions.h" #include "file_group.h" #include <dcp/filesystem.h> @@ -142,6 +143,7 @@ FileGroup::Result FileGroup::read (uint8_t* buffer, int amount) const { DCPOMATIC_ASSERT (_current_file); + LOG_GENERAL("Group read %1 %2", (uint64_t) buffer, amount); int read = 0; while (true) { @@ -160,6 +162,7 @@ FileGroup::read (uint8_t* buffer, int amount) const eof = true; } + LOG_GENERAL("Read %1 %2", (uint64_t) (buffer + read), to_read); int const this_time = _current_file->read(buffer + read, 1, to_read); read += this_time; _position += this_time; |
