summaryrefslogtreecommitdiff
path: root/src/lib/dcp_subtitle_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-02-13 23:13:54 +0100
committerCarl Hetherington <cth@carlh.net>2023-02-13 23:13:54 +0100
commitde5ad19f419a4443789236cc085a9a6b7df3ed1b (patch)
treeac66bae40b70b2797f39aa423a33c1af04728372 /src/lib/dcp_subtitle_decoder.h
parenta488be44fa7559553036d4b081ad8e115311500b (diff)
Cleanup: use a class for the Decoder::pass() return value.
Diffstat (limited to 'src/lib/dcp_subtitle_decoder.h')
-rw-r--r--src/lib/dcp_subtitle_decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_subtitle_decoder.h b/src/lib/dcp_subtitle_decoder.h
index 3eed4ad24..955224b66 100644
--- a/src/lib/dcp_subtitle_decoder.h
+++ b/src/lib/dcp_subtitle_decoder.h
@@ -31,7 +31,7 @@ class DCPSubtitleDecoder : public DCPSubtitle, public Decoder
public:
DCPSubtitleDecoder (std::shared_ptr<const Film> film, std::shared_ptr<const DCPSubtitleContent>);
- bool pass () override;
+ PassResult pass() override;
void seek (dcpomatic::ContentTime time, bool accurate) override;
boost::optional<dcpomatic::ContentTime> first () const;