X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fplayer_information.cc;h=806611140f2a028d4de5bde16e69fc8c7f31ce36;hb=6a35581ef83d48a799208081bcf006de895ddfb4;hp=4e95e0956fb208de2e17b57553923beb2f1744ce;hpb=0dfae427c15dc7fde495567d7dcbd04be80342b5;p=dcpomatic.git diff --git a/src/wx/player_information.cc b/src/wx/player_information.cc index 4e95e0956..806611140 100644 --- a/src/wx/player_information.cc +++ b/src/wx/player_information.cc @@ -166,7 +166,7 @@ PlayerInformation::triggered_update () checked_set (_dcp[r++], wxString::Format(_("Frame rate: %d"), (int) lrint(*dcp->video_frame_rate()))); } if (dcp->audio && !dcp->audio->streams().empty()) { - checked_set (_dcp[r++], wxString::Format(_("Audio channels: %d"), dcp->audio->streams().front()->channels())); + checked_set(_dcp[r++], wxString::Format(_("Audio channels: %d"), dcp->active_audio_channels())); } if (!dcp->text.empty()) { checked_set (_dcp[r++], _("Subtitles: yes"));