summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/player.cc2
-rw-r--r--src/lib/player_subtitles.h4
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 */