summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-25 13:33:08 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-25 13:33:08 +0100
commit872557b0261c0daf2206a24e38f33b1c9871c8a3 (patch)
treeeb48213893311c0b5de4d05c8db8bd273e6ca993 /src/lib/decoder.h
parentd9362bdd24f01e4c833e89d63ac3816f36eae36e (diff)
Call Resampler::flush() again.
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/decoder.h b/src/lib/decoder.h
index 9eb4850f9..d67592ed8 100644
--- a/src/lib/decoder.h
+++ b/src/lib/decoder.h
@@ -43,11 +43,12 @@ public:
* cause the object to emit some data.
*/
virtual void pass () = 0;
-
virtual bool done () const = 0;
protected:
+ virtual void flush () {};
+
/** The Film that we are decoding in */
boost::weak_ptr<const Film> _film;
};