Allow separate X and Y scale for subtitles.
[dcpomatic.git] / src / lib / decoder.cc
index 2308bbd98fe5d3a3a7dedba52bd9a32b90c42e96..3f4cda6eb5a4345595410fe475314f3d24881bd7 100644 (file)
  *  @brief Parent class for decoders of content.
  */
 
-#include <iostream>
 #include "film.h"
-#include "exceptions.h"
-#include "util.h"
 #include "decoder.h"
 
 #include "i18n.h"
 
-using std::string;
 using boost::shared_ptr;
 
 /** @param f Film.
@@ -38,12 +34,5 @@ using boost::shared_ptr;
 Decoder::Decoder (shared_ptr<const Film> f)
        : _film (f)
 {
-       _film_connection = f->Changed.connect (bind (&Decoder::film_changed, this, _1));
-}
 
-/** @return true on error */
-bool
-Decoder::seek (Time)
-{
-       throw DecodeError (N_("decoder does not support seek"));
 }