From 86c09d276bc4d2a85321f8c1ba4f06c1cdf25b7c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 23 Dec 2014 00:07:21 +0000 Subject: Fix warning and add comment. --- src/lib/dcp_decoder.cc | 3 ++- src/lib/subtitle_decoder.h | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/dcp_decoder.cc b/src/lib/dcp_decoder.cc index f6d632f92..51d16b43c 100644 --- a/src/lib/dcp_decoder.cc +++ b/src/lib/dcp_decoder.cc @@ -133,7 +133,8 @@ DCPDecoder::seek (ContentTime t, bool accurate) list -DCPDecoder::subtitles_during (ContentTimePeriod, bool starting) const +DCPDecoder::subtitles_during (ContentTimePeriod, bool) const { + /* XXX */ return list (); } diff --git a/src/lib/subtitle_decoder.h b/src/lib/subtitle_decoder.h index 3d4f90ad9..d7faaa014 100644 --- a/src/lib/subtitle_decoder.h +++ b/src/lib/subtitle_decoder.h @@ -51,7 +51,10 @@ private: template std::list get (std::list const & subs, ContentTimePeriod period, bool starting); - virtual std::list subtitles_during (ContentTimePeriod, bool starting) const = 0; + /** @param starting true if we want only subtitles that start during the period, otherwise + * we want subtitles that overlap the period. + */ + virtual std::list subtitles_during (ContentTimePeriod period, bool starting) const = 0; boost::shared_ptr _subtitle_content; }; -- cgit v1.2.3