Update preview when caption type changes.
authorCarl Hetherington <cth@carlh.net>
Fri, 20 Jul 2018 19:40:59 +0000 (20:40 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 20 Jul 2018 19:40:59 +0000 (20:40 +0100)
src/lib/player.cc

index 719e59a..72c0519 100644 (file)
@@ -230,6 +230,7 @@ Player::playlist_content_changed (weak_ptr<Content> w, int property, bool freque
                property == CaptionContentProperty::Y_OFFSET ||
                property == CaptionContentProperty::X_SCALE ||
                property == CaptionContentProperty::FONTS ||
+               property == CaptionContentProperty::TYPE ||
                property == VideoContentProperty::CROP ||
                property == VideoContentProperty::SCALE ||
                property == VideoContentProperty::FADE_IN ||