summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-20 23:16:06 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-22 02:37:53 +0100
commit883600f1e39a86338050bfdc3eaf01136d06d825 (patch)
tree128fd09e4e14802e4f979d9c69f98d987b066188 /src
parent1f8ea79b8966a51dbbccd70e19adcd39fb1bd54c (diff)
Fix crash on working out hints for content with subtitles.
Probably introduced in cadca6e4f8c1d844f1b5fb9375023e627c674fa9
Diffstat (limited to 'src')
-rw-r--r--src/lib/reel_writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/reel_writer.cc b/src/lib/reel_writer.cc
index 2bd732d5b..41de4481e 100644
--- a/src/lib/reel_writer.cc
+++ b/src/lib/reel_writer.cc
@@ -155,7 +155,7 @@ ReelWriter::ReelWriter (
_picture_asset->set_file (asset);
_picture_asset_writer = _picture_asset->start_write (asset, _first_nonexistant_frame > 0);
- } else {
+ } else if (!text_only) {
/* We already have a complete picture asset that we can just re-use */
/* XXX: what about if the encryption key changes? */
if (film()->three_d()) {