diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-12-22 01:46:34 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-12-22 01:46:34 +0100 |
| commit | 2d378119e05eaae28c26ca25a024fd707fd30d92 (patch) | |
| tree | b03f2acd9f1c0313c7f764cd46cbb72fb75d577d | |
| parent | 7b16a669e797cc9d876dfd31eef92905d9121e85 (diff) | |
Fix incorrect logic.
I think the previous version would treat a project with 3 videos the
same as a project with 1.
| -rw-r--r-- | src/lib/film.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc index 41944677c..831acd9da 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -1585,7 +1585,8 @@ Film::maybe_set_container_and_resolution() if (!video) { video = content->video; } else { - video.reset(); + /* This is the second video: stop */ + return; } } } |
