From 9b7e3d7d992f64da4bc78bc99d1eb706f181b798 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 30 Jun 2016 00:20:49 +0100 Subject: Make the preview respond to changes in subtitle line spacing. --- src/lib/decoder.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib/decoder.h') 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 -- cgit v1.2.3