Possibly fix incorrect character encoding in the frame rate description.
[dcpomatic.git] / src / wx / video_panel.cc
index 0dbee542060875afbae9ffbc5a2257379122861b..8854f7e7b54441c5c2689b7b157d4f71c4089384 100644 (file)
@@ -211,6 +211,7 @@ VideoPanel::film_changed (Film::Property property)
        switch (property) {
        case Film::CONTAINER:
        case Film::VIDEO_FRAME_RATE:
+       case Film::RESOLUTION:
                setup_description ();
                break;
        default:
@@ -334,7 +335,7 @@ VideoPanel::setup_description ()
        d << wxString::Format (_("Content frame rate %.4f\n"), vcs->video_frame_rate ());
        ++lines;
        FrameRateConversion frc (vcs->video_frame_rate(), _editor->film()->video_frame_rate ());
-       d << frc.description << "\n";
+       d << std_to_wx (frc.description) << "\n";
        ++lines;
 
        for (int i = lines; i < 6; ++i) {