summaryrefslogtreecommitdiff
path: root/src/lib/player.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-09-12 22:45:24 +0100
committerCarl Hetherington <cth@carlh.net>2014-09-12 22:45:24 +0100
commit4265db19ba68a995fca42bdd5fa815aead9c5c50 (patch)
treebfce12d663f71080430cf4da74229fd5f48f214f /src/lib/player.cc
parenta8f51733f93bcf88d867d5a4b359e6e14ddad91a (diff)
Allow separate X and Y scale for subtitles.
Diffstat (limited to 'src/lib/player.cc')
-rw-r--r--src/lib/player.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc
index 2d2977606..8063d1212 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -497,7 +497,8 @@ Player::content_changed (weak_ptr<Content> w, int property, bool frequent)
} else if (
property == SubtitleContentProperty::SUBTITLE_X_OFFSET ||
property == SubtitleContentProperty::SUBTITLE_Y_OFFSET ||
- property == SubtitleContentProperty::SUBTITLE_SCALE
+ property == SubtitleContentProperty::SUBTITLE_X_SCALE ||
+ property == SubtitleContentProperty::SUBTITLE_Y_SCALE
) {
for (list<Subtitle>::iterator i = _subtitles.begin(); i != _subtitles.end(); ++i) {