summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-30 00:20:49 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-01 01:05:06 +0100
commit9b7e3d7d992f64da4bc78bc99d1eb706f181b798 (patch)
tree24a9c3c9a9914e19454ca70d8e55c7f5e0746dc0 /src/lib/decoder.h
parent2894023433c3addfb04ba7ae0be534e251b641b9 (diff)
Make the preview respond to changes in subtitle line spacing.
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