Time label.
[dcpomatic.git] / src / lib / decoder_factory.cc
index 59e15722d6dd0f7b652c847b325af2108249bbb6..478ccd1c18da55d155ab439270b3fa4b90a1b260 100644 (file)
@@ -39,6 +39,10 @@ decoder_factory (
        shared_ptr<Film> f, DecodeOptions o
        )
 {
+       if (f->content().empty()) {
+               return Decoders ();
+       }
+       
        if (boost::filesystem::is_directory (f->content_path()) || f->content_type() == STILL) {
                /* A single image file, or a directory of them */
                return Decoders (