Basics of splitting CCAP streams into different assets.
[dcpomatic.git] / src / lib / player.cc
index cf9bc2e63dd61a43c4e64a28d398917e8c4594a3..5202bbbe0ff190f6d0a8f4cf682eb1d522a8eb63 100644 (file)
@@ -991,7 +991,7 @@ Player::subtitle_stop (weak_ptr<Piece> wp, weak_ptr<const TextContent> wc, Conte
 
        bool const always = (text->type() == TEXT_OPEN_SUBTITLE && _always_burn_open_subtitles);
        if (text->use() && !always && !text->burn()) {
-               Text (from.first, text->type(), DCPTimePeriod (from.second, dcp_to));
+               Text (from.first, text->type(), text->dcp_track().get_value_or(DCPTextTrack()), DCPTimePeriod (from.second, dcp_to));
        }
 }