avfilter_graph_parse frees inputs and outputs passed in, so we should not.
[dcpomatic.git] / src / lib / examine_content_job.h
index d87bd0876b23b160c346643dc29768689aa7d11c..b97e7823d6b99b808e18c0ddd0ab6fbbd4ba5096 100644 (file)
 
 */
 
-/** @file  src/examine_content_job.h
- *  @brief A class to run through content at high speed to find its length.
- */
-
 #include "job.h"
+#include <boost/shared_ptr.hpp>
 
-class Decoder;
+class Content;
+class Log;
 
-/** @class ExamineContentJob
- *  @brief A class to run through content at high speed to find its length.
- */
 class ExamineContentJob : public Job
 {
 public:
-       ExamineContentJob (boost::shared_ptr<Film>, boost::shared_ptr<Job> req);
+       ExamineContentJob (boost::shared_ptr<const Film>, boost::shared_ptr<Content>);
        ~ExamineContentJob ();
 
        std::string name () const;
+       std::string json_name () const;
        void run ();
 
 private:
-       boost::shared_ptr<Decoder> _decoder;
+       boost::shared_ptr<Content> _content;
 };