Untested use of Frame for video/audio content lengths.
[dcpomatic.git] / src / wx / content_properties_dialog.cc
index 76de75ea618981aad1a61cc9987c776dda1ec228..45593fd5b84921982d4658e948d7c5d19a50762a 100644 (file)
@@ -40,7 +40,7 @@ ContentPropertiesDialog::ContentPropertiesDialog (wxWindow* parent, shared_ptr<C
        if (video) {
                add_property (
                        _("Video length"),
-                       std_to_wx (raw_convert<string> (video->video_length ().frames (video->video_frame_rate ()))) + " " + _("video frames")
+                       std_to_wx (raw_convert<string> (video->video_length ())) + " " + _("video frames")
                        );
                add_property (
                        _("Video size"),
@@ -60,7 +60,7 @@ ContentPropertiesDialog::ContentPropertiesDialog (wxWindow* parent, shared_ptr<C
                        );
                add_property (
                        _("Audio length"),
-                       std_to_wx (raw_convert<string> (audio->audio_length().frames (audio->audio_frame_rate ()))) + " " + _("audio frames")
+                       std_to_wx (raw_convert<string> (audio->audio_length())) + " " + _("audio frames")
                        );
        }