diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic_create.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_create.cc b/src/tools/dcpomatic_create.cc index 1f9a5b7ec..7c3ee1308 100644 --- a/src/tools/dcpomatic_create.cc +++ b/src/tools/dcpomatic_create.cc @@ -240,7 +240,10 @@ main (int argc, char* argv[]) list<shared_ptr<Content> > content; try { content.push_back (shared_ptr<DCPContent> (new DCPContent (film, can))); - } catch (dcp::DCPReadError& e) { + } catch (dcp::DCPReadError) { + /* I guess it's not a DCP */ + content = content_factory (film, can); + } catch (boost::filesystem::filesystem_error) { /* I guess it's not a DCP */ content = content_factory (film, can); } |
