Fix for DCPProfile constructor not respecting verbose on all printf occurrences.

This commit is contained in:
kaesa 2025-02-13 10:51:19 +02:00
parent fe94a34d7d
commit 5edf870c13

View File

@ -1131,13 +1131,17 @@ DCPProfile::DCPProfile(const Glib::ustring& filename) :
});
if (file == nullptr) {
if (settings->verbose) {
printf ("Unable to load DCP profile '%s' !", filename.c_str());
}
return;
}
DCPMetadata md(file.get());
if (!md.parse()) {
if (settings->verbose) {
printf ("Unable to load DCP profile '%s'.", filename.c_str());
}
return;
}