From: Carl Hetherington Date: Sun, 20 Dec 2020 22:16:06 +0000 (+0100) Subject: Fix crash on working out hints for content with subtitles. X-Git-Tag: 11.0-build-runs~38 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=883600f1e39a86338050bfdc3eaf01136d06d825 Fix crash on working out hints for content with subtitles. Probably introduced in cadca6e4f8c1d844f1b5fb9375023e627c674fa9 --- 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()) {