Try to fix missing icons in OS X .dmg.
[dcpomatic.git] / src / lib / ffmpeg_content.cc
index fadeec9cdc00a3126f2d9d066df8d04518229015..b7551c96af36ed3a85e47671ac6e1237a8d96499 100644 (file)
@@ -239,7 +239,7 @@ FFmpegContent::information () const
        
        stringstream s;
        
-       s << String::compose (_("%1 frames; %2 frames per second"), video_length(), video_frame_rate()) << "\n";
+       s << String::compose (_("%1 frames; %2 frames per second"), video_length_after_3d_combine(), video_frame_rate()) << "\n";
        s << VideoContent::information ();
 
        return s.str ();
@@ -272,7 +272,7 @@ FFmpegContent::audio_length () const
 {
        int const cafr = content_audio_frame_rate ();
        int const vfr  = video_frame_rate ();
-       VideoContent::Frame const vl = video_length ();
+       VideoContent::Frame const vl = video_length_after_3d_combine ();
 
        boost::mutex::scoped_lock lm (_mutex);
        if (!_audio_stream) {
@@ -429,7 +429,7 @@ FFmpegContent::full_length () const
        assert (film);
        
        FrameRateConversion frc (video_frame_rate (), film->video_frame_rate ());
-       return video_length() * frc.factor() * TIME_HZ / film->video_frame_rate ();
+       return video_length_after_3d_combine() * frc.factor() * TIME_HZ / film->video_frame_rate ();
 }
 
 AudioMapping