Merge master and multifarious hackery.
[dcpomatic.git] / src / lib / decoder.cc
index 082ad5076cd402647f43800596f45614319616f6..637e0ddb291101af81f28115327f195a3e128116 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.
@@ -40,12 +36,3 @@ Decoder::Decoder (shared_ptr<const Film> f)
 {
        _film_connection = f->Changed.connect (bind (&Decoder::film_changed, this, _1));
 }
-
-/** Seek to a position as a content timestamp in seconds.
- *  @return true on error.
- */
-bool
-Decoder::seek (double)
-{
-       throw DecodeError (N_("decoder does not support seek"));
-}