Update view on changing subtitle fade.
authorCarl Hetherington <cth@carlh.net>
Sun, 28 Aug 2016 20:33:41 +0000 (21:33 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 28 Aug 2016 20:33:41 +0000 (21:33 +0100)
src/lib/player.cc

index 10c92c0736eb87385b5d4e0e20f88ba95c473f43..1506436e1ebcf75d6b1d72b83dc077b91c582cad 100644 (file)
@@ -184,7 +184,9 @@ Player::playlist_content_changed (weak_ptr<Content> w, int property, bool freque
        } else if (
                property == SubtitleContentProperty::LINE_SPACING ||
                property == SubtitleContentProperty::OUTLINE_WIDTH ||
-               property == SubtitleContentProperty::Y_SCALE
+               property == SubtitleContentProperty::Y_SCALE ||
+               property == SubtitleContentProperty::FADE_IN ||
+               property == SubtitleContentProperty::FADE_OUT
                ) {
 
                /* These changes just need the pieces' decoders to be reset.