X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fplayer_information.cc;h=5f480d5b4902832b14886a3aeb726c1d154fb7e8;hb=f10e025eba54b0ab4dbe1b3611071b160ca89208;hp=c0821510ceb54d56b2be333f2e3f77e8c70eb0be;hpb=c370a1f38215f6461cf4366e6885757e7aa2b96a;p=dcpomatic.git diff --git a/src/wx/player_information.cc b/src/wx/player_information.cc index c0821510c..5f480d5b4 100644 --- a/src/wx/player_information.cc +++ b/src/wx/player_information.cc @@ -153,8 +153,8 @@ PlayerInformation::triggered_update () string const len = String::compose( wx_to_std(_("Length: %1 (%2 frames)")), - time_to_hmsf(dcp->full_length(), lrint(*vfr)), - dcp->full_length().frames_round(*vfr) + time_to_hmsf(dcp->full_length(fv->film()), lrint(*vfr)), + dcp->full_length(fv->film()).frames_round(*vfr) ); checked_set (_dcp[r++], std_to_wx(len));