diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-07-06 00:28:09 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-07-06 00:28:09 +0100 |
| commit | b799c3b9671e815737f769533e40a3bad347f73e (patch) | |
| tree | d41ca395040bd237d62e1fd1c146abff0357b6e0 /src/subtitle_asset.h | |
| parent | 1b3d229a066410d58de0de5ecdd4d57461089ec0 (diff) | |
Extend SubtitleAsset::subtitles_during to allow asking for subtitles either starting during a particular timescale or overllapping it.
Diffstat (limited to 'src/subtitle_asset.h')
| -rw-r--r-- | src/subtitle_asset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subtitle_asset.h b/src/subtitle_asset.h index 44ac455f..69bf40f8 100644 --- a/src/subtitle_asset.h +++ b/src/subtitle_asset.h @@ -63,7 +63,7 @@ public: NoteHandler note ) const; - std::list<SubtitleString> subtitles_during (Time from, Time to) const; + std::list<SubtitleString> subtitles_during (Time from, Time to, bool starting) const; std::list<SubtitleString> const & subtitles () const { return _subtitles; } |
