From: Carl Hetherington Date: Sun, 18 Feb 2018 00:34:01 +0000 (+0000) Subject: Fix missing subtitles in the player when they are added with a VF. X-Git-Tag: v2.13.0~60 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=f7446b20d4ce0575906ee9e40dcee3c74af62860 Fix missing subtitles in the player when they are added with a VF. --- diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc index c59d92523..3e36b575b 100644 --- a/src/tools/dcpomatic_player.cc +++ b/src/tools/dcpomatic_player.cc @@ -311,6 +311,10 @@ private: DCPOMATIC_ASSERT (dcp); dcp->add_ov (wx_to_std(c->GetPath())); dcp->examine (shared_ptr()); + /* Maybe we just gained some subtitles */ + if (dcp->subtitle) { + dcp->subtitle->set_use (true); + } } c->Destroy ();