summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/decoder.h b/src/lib/decoder.h
index 2a3b56c63..181fc6c2a 100644
--- a/src/lib/decoder.h
+++ b/src/lib/decoder.h
@@ -64,6 +64,11 @@ public:
/** @return true if this decoder has already returned all its data and will give no more */
virtual bool pass (PassReason, bool accurate) = 0;
+
+ /** Ensure that any future get() calls return data that reflect
+ * changes in our content's settings.
+ */
+ virtual void reset () {}
};
#endif