Reasonably straightforward stuff; main things are adding
[dcpomatic.git] / test / ffmpeg_pts_offset_test.cc
index 65ed6436df9273d03d46fae506d0fa1b47353e51..0148487eda5ad3d2d080dff1f390012e0031e776 100644 (file)
@@ -35,7 +35,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_pts_offset_test)
        shared_ptr<Film> film = new_test_film ("ffmpeg_pts_offset_test");
        shared_ptr<FFmpegContent> content (new FFmpegContent (film, "test/data/test.mp4"));
        content->_audio_streams.push_back (shared_ptr<FFmpegAudioStream> (new FFmpegAudioStream));
-       content->_video_frame_rate = 24;
+       content->video->_video_frame_rate = 24;
 
        {
                /* Sound == video so no offset required */