Split Options into encode / decode.
[dcpomatic.git] / src / lib / examine_content_job.cc
index 5c565cd88a333a5e00e1c11aa0171a27cb8f28a5..dc2fc305cdd5618524371bf299affbd101ba0ee6 100644 (file)
@@ -65,10 +65,9 @@ ExamineContentJob::run ()
           will be messed up.
        */
        _film->unset_length ();
+       _film->set_crop (Crop ());
        
-       shared_ptr<Options> o (new Options ("", "", ""));
-       o->out_size = Size (512, 512);
-       o->apply_crop = false;
+       shared_ptr<DecodeOptions> o (new DecodeOptions);
        o->decode_audio = false;
 
        descend (1);