From d342a1befa88cb3f23c7e3fccfd1edaeea968fed Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 22 May 2014 14:57:56 +0100 Subject: Add ContentTimePeriod class. --- src/wx/subtitle_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wx') diff --git a/src/wx/subtitle_view.cc b/src/wx/subtitle_view.cc index adbc4a625..d14f260c9 100644 --- a/src/wx/subtitle_view.cc +++ b/src/wx/subtitle_view.cc @@ -63,7 +63,7 @@ SubtitleView::SubtitleView (wxWindow* parent, shared_ptr content) } shared_ptr decoder (new SubRipDecoder (content)); - list > subs = decoder->get_text_subtitles (ContentTime(), ContentTime::max ()); + list > subs = decoder->get_text_subtitles (ContentTimePeriod (ContentTime(), ContentTime::max ())); int n = 0; for (list >::const_iterator i = subs.begin(); i != subs.end(); ++i) { for (list::const_iterator j = (*i)->subs.begin(); j != (*i)->subs.end(); ++j) { -- cgit v1.2.3