X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fencoder.h;h=b5a641f50d40492caa008115cf294ea4ec084de5;hb=57f229171a08567efeaed678381808173e4ef7a5;hp=8f724525cbe791c965d67c3b1e13f06f08f7a1b4;hpb=a183c1776cfd020a37d028ebb0f641352f49697b;p=dcpomatic.git diff --git a/src/lib/encoder.h b/src/lib/encoder.h index 8f724525c..b5a641f50 100644 --- a/src/lib/encoder.h +++ b/src/lib/encoder.h @@ -36,8 +36,6 @@ extern "C" { #include } #include "util.h" -#include "video_sink.h" -#include "audio_sink.h" class Image; class AudioBuffers; @@ -55,10 +53,10 @@ class Job; * is supplied as uncompressed PCM in blocks of various sizes. */ -class Encoder : public VideoSink, public AudioSink +class Encoder { public: - Encoder (boost::shared_ptr f, boost::shared_ptr); + Encoder (boost::shared_ptr f, boost::shared_ptr); virtual ~Encoder (); /** Called to indicate that a processing run is about to begin */ @@ -68,10 +66,10 @@ public: * @param i Video frame image. * @param same true if i is the same as the last time we were called. */ - void process_video (boost::shared_ptr i, bool same, Time); + void process_video (boost::shared_ptr i, bool same); /** Call with some audio data */ - void process_audio (boost::shared_ptr, Time); + void process_audio (boost::shared_ptr); /** Called when a processing run has finished */ void process_end (); @@ -87,7 +85,7 @@ private: void terminate_threads (); /** Film that we are encoding */ - boost::shared_ptr _film; + boost::shared_ptr _film; boost::shared_ptr _job; /** Mutex for _time_history and _last_frame */