X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsubtitle_panel.cc;h=4271b2d92cfe3a0ba9e546a432f47f7fe84464f9;hb=a8af9a0b57b853b8a8cd8fa35adb3fc967d59ee7;hp=5cfd295042e6bfdc407511a6f2171ca2a041b306;hpb=8d58a7c5f4320ad5c111e336c45e44d6b51ab509;p=dcpomatic.git diff --git a/src/wx/subtitle_panel.cc b/src/wx/subtitle_panel.cc index 5cfd29504..4271b2d92 100644 --- a/src/wx/subtitle_panel.cc +++ b/src/wx/subtitle_panel.cc @@ -166,7 +166,7 @@ SubtitlePanel::setup_sensitivity () shared_ptr sc = boost::dynamic_pointer_cast (*i); shared_ptr dsc = boost::dynamic_pointer_cast (*i); if (fc) { - if (!fc->subtitle_streams().empty ()) { + if (!fc->has_subtitles ()) { ++ffmpeg_subs; ++any_subs; }