Try to wrap ffprobe paths in quotes (may fix #168).
[dcpomatic.git] / src / lib / ab_transcode_job.h
index 2485608e6aee43fa7d34069e7398145ff8e7daa9..8e3cbe2d8f8990586218b8925f3a9b5ed1514bee 100644 (file)
 
 #include <boost/shared_ptr.hpp>
 #include "job.h"
+#include "options.h"
+
+class Film;
 
 /** @class ABTranscodeJob
  *  @brief Job to run a transcoder which produces output for A/B comparison of various settings.
  *
- *  The right half of the frame will be processed using the FilmState supplied;
- *  the left half will be processed using the same state but *without* filters
- *  and with the scaler set to SWS_BICUBIC.
+ *  The right half of the frame will be processed using the Film supplied;
+ *  the left half will be processed using the same state but with the reference
+ *  filters and scaler.
  */
 class ABTranscodeJob : public Job
 {
 public:
-       ABTranscodeJob (boost::shared_ptr<const FilmState> s, boost::shared_ptr<const Options> o, Log* l, boost::shared_ptr<Job> req);
+       ABTranscodeJob (
+               boost::shared_ptr<Film> f,
+               DecodeOptions o
+               );
 
        std::string name () const;
        void run ();
 
 private:
-       boost::shared_ptr<const Options> _opt;
+       DecodeOptions _decode_opt;
        
-       /** Copy of our FilmState with filters removed and scaler set back to bicubic;
-        *  this is the `reference' (left-half-frame) state.
-        */
-       boost::shared_ptr<FilmState> _fs_b;
+       /** Copy of our Film using the reference filters and scaler */
+       boost::shared_ptr<Film> _film_b;
 };