From ded71cffd18962ebb6b9611a5eb6dfafe9e8e4ec Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 23 Jul 2018 01:21:07 +0100 Subject: Get ccaps by asking the Player, rather than by listening to its emissions, which is slightly cleaner and works when subtitles are emitted with an unknown end time. Also add CCAPs to the player. --- src/lib/caption_content.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/caption_content.cc') diff --git a/src/lib/caption_content.cc b/src/lib/caption_content.cc index 37a3e7c70..bbb1bacf3 100644 --- a/src/lib/caption_content.cc +++ b/src/lib/caption_content.cc @@ -67,7 +67,7 @@ CaptionContent::CaptionContent (Content* parent, CaptionType original_type) , _y_scale (1) , _line_spacing (1) , _outline_width (2) - , _type (CAPTION_OPEN) + , _type (original_type) , _original_type (original_type) { -- cgit v1.2.3