X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fvideo_panel.cc;h=6a6e694cbe0423a7431cd0636d6f1805a55420d3;hb=c28b3d6f168607aca9995282b96647eb64a26dc9;hp=b439d13c4e47412f1950283ae9beb584942ef85f;hpb=8aeb741ccbe2edb528e98a431bf55459a6836a9b;p=dcpomatic.git diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc index b439d13c4..6a6e694cb 100644 --- a/src/wx/video_panel.cc +++ b/src/wx/video_panel.cc @@ -299,8 +299,8 @@ VideoPanel::setup_description () } Crop const crop = vcs->crop (); - if ((crop.left || crop.right || crop.top || crop.bottom) && vcs->video_size() != libdcp::Size (0, 0)) { - libdcp::Size cropped = vcs->video_size_after_crop (); + if ((crop.left || crop.right || crop.top || crop.bottom) && vcs->video_size() != dcp::Size (0, 0)) { + dcp::Size cropped = vcs->video_size_after_crop (); d << wxString::Format ( _("Cropped to %dx%d (%.2f:1)\n"), cropped.width, cropped.height, @@ -310,11 +310,11 @@ VideoPanel::setup_description () } Ratio const * ratio = vcs->ratio (); - libdcp::Size container_size = fit_ratio_within (_editor->film()->container()->ratio (), _editor->film()->full_frame ()); + dcp::Size container_size = fit_ratio_within (_editor->film()->container()->ratio (), _editor->film()->full_frame ()); float const ratio_value = ratio ? ratio->ratio() : vcs->video_size_after_crop().ratio (); /* We have a specified ratio to scale to */ - libdcp::Size const scaled = fit_ratio_within (ratio_value, container_size); + dcp::Size const scaled = fit_ratio_within (ratio_value, container_size); d << wxString::Format ( _("Scaled to %dx%d (%.2f:1)\n"),