X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdecoder.cc;h=3f4cda6eb5a4345595410fe475314f3d24881bd7;hb=4861afbaab9c3710152d80f15c7a239c26deb74b;hp=082ad5076cd402647f43800596f45614319616f6;hpb=cd4a82d90677cec80e891ac190000cb70767446f;p=dcpomatic.git diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc index 082ad5076..3f4cda6eb 100644 --- a/src/lib/decoder.cc +++ b/src/lib/decoder.cc @@ -21,15 +21,11 @@ * @brief Parent class for decoders of content. */ -#include #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,14 +34,5 @@ using boost::shared_ptr; Decoder::Decoder (shared_ptr f) : _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")); }