Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
[dcpomatic.git] / src / wx / player_information.cc
index 9c5684e74015ab534f65fe8014fe55f40abb81c8..dbb394c645d7309708cc49c7e5c0836cdc278e91 100644 (file)
@@ -131,7 +131,7 @@ PlayerInformation::triggered_update ()
        if (dcp->audio && !dcp->audio->streams().empty()) {
                checked_set (_dcp[r++], wxString::Format(_("Audio channels: %d"), dcp->audio->streams().front()->channels()));
        }
-       if (dcp->subtitle) {
+       if (!dcp->text.empty()) {
                checked_set (_dcp[r++], _("Subtitles: yes"));
        } else {
                checked_set (_dcp[r++], _("Subtitles: no"));