Remove unused variable.
authorCarl Hetherington <cth@carlh.net>
Tue, 16 Aug 2016 00:04:07 +0000 (01:04 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 16 Aug 2016 00:04:07 +0000 (01:04 +0100)
src/lib/player.cc
src/lib/player_subtitles.h

index db62cbcc8dec6f417b05558f25724353324c7563..7dcaf68b745267be818b790009bd8116e95a923e 100644 (file)
@@ -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 ()))) {
index b43a1d0a9ffeeb5721fa5aa0f366037753be98cd..9e50ea7776c961ba86f3446438e7a131c4ac9f08 100644 (file)
@@ -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 */