summaryrefslogtreecommitdiff
path: root/src/lib/decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-12-18 21:13:53 +0000
committerCarl Hetherington <cth@carlh.net>2012-12-18 21:13:53 +0000
commit602fd58eff38fdfccc489b9f77b3ff0ca0009566 (patch)
treef44645730c3b412fcc0c79f4bca73260567a362d /src/lib/decoder.cc
parent039a55081427b1ff0026cd6b9ca787526d37ef92 (diff)
parent0330d9b2924767d9240c5a25e9ed4327eb0a73bd (diff)
Fix merge.
Diffstat (limited to 'src/lib/decoder.cc')
-rw-r--r--src/lib/decoder.cc15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc
index 7d4085045..61e63460b 100644
--- a/src/lib/decoder.cc
+++ b/src/lib/decoder.cc
@@ -57,8 +57,21 @@ Decoder::Decoder (boost::shared_ptr<Film> f, boost::shared_ptr<const DecodeOptio
_film_connection = f->Changed.connect (bind (&Decoder::film_changed, this, _1));
}
+/** Seek.
+ * @param p Position as a source timestamp in seconds.
+ * @return true on error.
+ */
+bool
+Decoder::seek (double p)
+{
+ throw DecodeError ("decoder does not support seek");
+}
+
+/** Seek so that the next frame we will produce is the same as the last one.
+ * @return true on error.
+ */
bool
-Decoder::seek (SourceFrame f)
+Decoder::seek_to_last ()
{
throw DecodeError ("decoder does not support seek");
}