From 2d378119e05eaae28c26ca25a024fd707fd30d92 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 22 Dec 2025 01:46:34 +0100 Subject: Fix incorrect logic. I think the previous version would treat a project with 3 videos the same as a project with 1. --- src/lib/film.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib') 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; } } } -- cgit v1.2.3