diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-16 01:58:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-12-26 17:20:25 +0100 |
| commit | 24728b74693bb84d79474e014cdb952abc8a79f2 (patch) | |
| tree | b18a95441b7fcf53232958b364c84bcee67f1695 /src/lib/writer.h | |
| parent | d7f6ab91208cb4a562ccd668ca2cc8135f124053 (diff) | |
Give ownership of info files to ReelWriters (#2912).v2.18.2
The motivation here is to stop a pattern where we create a file, close
it, and then re-open it (many times) as I think there are problems on
Windows when a virus scanner sees the new file, opens it for checking,
and then we can't re-open it.
This also makes things a fair bit simpler, as a lock is removed and we
don't try to differentiate read/write cases by opening the file in
different ways; it's now always writeable.
Diffstat (limited to 'src/lib/writer.h')
| -rw-r--r-- | src/lib/writer.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/writer.h b/src/lib/writer.h index 3e93c9b7b..cfe3f97cf 100644 --- a/src/lib/writer.h +++ b/src/lib/writer.h @@ -77,8 +77,6 @@ public: /** encoded data for FULL */ std::shared_ptr<const dcp::Data> encoded; - /** info for FAKE */ - dcp::J2KFrameInfo info; /** reel index */ size_t reel = 0; /** frame index within the reel */ |
