2016-02-28 Carl Hetherington <cth@carlh.net>
+ * Ignore subdirectories when deciding whether a folder
+ contains an image sequence or a DCP.
+
* Updated nl_NL translation from Rob van Nieuwkerk.
2016-02-27 Carl Hetherington <cth@carlh.net>
continue;
}
- if (!boost::filesystem::is_regular_file (i->path()) || !valid_image_file (i->path())) {
+ if (!boost::filesystem::is_regular_file(i->path())) {
+ /* Ignore things which aren't files (probably directories) */
+ continue;
+ }
+
+ if (!valid_image_file (i->path())) {
+ /* We have a normal file which isn't an image; assume we are looking
+ at a DCP.
+ */
is_dcp = true;
}