diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-16 01:04:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-16 01:04:07 +0100 |
| commit | 1735af36a8fe197b1cc77b569b3933c74457d995 (patch) | |
| tree | 75cef625d3afd2fdb58f1ae8c02c0b2235de6f16 /src/lib | |
| parent | 8482da8426e1478b30dc273288900ddf7877be31 (diff) | |
Remove unused variable.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/player.cc | 2 | ||||
| -rw-r--r-- | src/lib/player_subtitles.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index db62cbcc8..7dcaf68b7 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -590,7 +590,7 @@ Player::get_subtitles (DCPTime time, DCPTime length, bool starting, bool burnt, { list<shared_ptr<Piece> > subs = overlaps (time, time + length, has_subtitle); - PlayerSubtitles ps (time, length); + PlayerSubtitles ps (time); for (list<shared_ptr<Piece> >::const_iterator j = subs.begin(); j != subs.end(); ++j) { if (!(*j)->content->subtitle->use () || (!_always_burn_subtitles && (burnt != (*j)->content->subtitle->burn ()))) { diff --git a/src/lib/player_subtitles.h b/src/lib/player_subtitles.h index b43a1d0a9..9e50ea777 100644 --- a/src/lib/player_subtitles.h +++ b/src/lib/player_subtitles.h @@ -30,15 +30,13 @@ class Font; class PlayerSubtitles { public: - PlayerSubtitles (DCPTime f, DCPTime t) + PlayerSubtitles (DCPTime f) : from (f) - , to (t) {} void add_fonts (std::list<boost::shared_ptr<Font> > fonts_); DCPTime from; - DCPTime to; std::list<boost::shared_ptr<Font> > fonts; /** ImageSubtitles, with their rectangles transformed as specified by their content */ |
