projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0373571
)
Add an assert.
author
Carl Hetherington
<cth@carlh.net>
Sat, 12 Apr 2025 20:14:07 +0000
(22:14 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 12 Apr 2025 20:14:08 +0000
(22:14 +0200)
src/lib/reel_writer.cc
patch
|
blob
|
history
diff --git
a/src/lib/reel_writer.cc
b/src/lib/reel_writer.cc
index 90cd9f26b8408a8ae015a1c8529c5a405384cdfd..edc3b0d7bba617bec0b11fe47a2bd79a7efdf581 100644
(file)
--- a/
src/lib/reel_writer.cc
+++ b/
src/lib/reel_writer.cc
@@
-185,6
+185,7
@@
ReelWriter::ReelWriter (
_mpeg2_picture_asset_writer = _mpeg2_picture_asset->start_write(new_asset_filename, behaviour);
}
} else {
+ DCPOMATIC_ASSERT(existing_asset_filename);
LOG_GENERAL("Re-using complete asset %1", *existing_asset_filename);
/* We already have a complete picture asset that we can just re-use */
/* XXX: what about if the encryption key changes? */