diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-04-12 22:10:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-18 11:50:29 +0100 |
| commit | 6f344b876689a1234a5eb75041882f06f5d9fe5c (patch) | |
| tree | 3a51f17cab8b8f31b21661b643aaed6a53326031 /test/ffmpeg_pts_offset_test.cc | |
| parent | 36774ee2b48f0bfde43b743592e5816ff58bb7d2 (diff) | |
Reasonably straightforward stuff; main things are adding
a _parent to VideoContent (mainly, but not only, for signalling)
and moving the video shared_ptr into Content, which makes much
more sense to replace dynamic_cast tests for whether something
has video or whatever. Nearly builds.
Diffstat (limited to 'test/ffmpeg_pts_offset_test.cc')
| -rw-r--r-- | test/ffmpeg_pts_offset_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ffmpeg_pts_offset_test.cc b/test/ffmpeg_pts_offset_test.cc index 65ed6436d..0148487ed 100644 --- a/test/ffmpeg_pts_offset_test.cc +++ b/test/ffmpeg_pts_offset_test.cc @@ -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 */ |
