X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdecoder.cc;h=fd0abee4183e540b4a4db5c5a9cb3588e5d8a34c;hb=4870ce43dd314d557f7b14938456138c746fd617;hp=61e63460bae8469d4650e6fa65932ef8b4a74fef;hpb=0330d9b2924767d9240c5a25e9ed4327eb0a73bd;p=dcpomatic.git diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc index 61e63460b..fd0abee41 100644 --- a/src/lib/decoder.cc +++ b/src/lib/decoder.cc @@ -46,10 +46,10 @@ using boost::shared_ptr; using boost::optional; /** @param f Film. - * @param o Options. + * @param o Decode options. * @param j Job that we are running within, or 0 */ -Decoder::Decoder (boost::shared_ptr f, boost::shared_ptr o, Job* j) +Decoder::Decoder (boost::shared_ptr f, DecodeOptions o, Job* j) : _film (f) , _opt (o) , _job (j) @@ -57,12 +57,11 @@ Decoder::Decoder (boost::shared_ptr f, boost::shared_ptrChanged.connect (bind (&Decoder::film_changed, this, _1)); } -/** Seek. - * @param p Position as a source timestamp in seconds. +/** Seek to a position as a source timestamp in seconds. * @return true on error. */ bool -Decoder::seek (double p) +Decoder::seek (double) { throw DecodeError ("decoder does not support seek"); }