diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-04-14 03:28:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-18 11:50:29 +0100 |
| commit | 150f708d27b25d5b5d4e486d03c5bc4078027997 (patch) | |
| tree | 56b65e0d0f11f1f9f469d6069985f5f1a1c3b831 /test/time_calculation_test.cc | |
| parent | a4ad6395a27e8ccb25af3b05f815d318312ae1b7 (diff) | |
Fix some confusions with FFmpeg audio streams.
Diffstat (limited to 'test/time_calculation_test.cc')
| -rw-r--r-- | test/time_calculation_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/time_calculation_test.cc b/test/time_calculation_test.cc index 353a97dd0..7f13e6c0e 100644 --- a/test/time_calculation_test.cc +++ b/test/time_calculation_test.cc @@ -21,6 +21,7 @@ #include "lib/ffmpeg_content.h" #include "lib/video_content.h" #include "lib/player.h" +#include "lib/audio_content.h" #include "test.h" #include <boost/test/unit_test.hpp> @@ -534,7 +535,7 @@ BOOST_AUTO_TEST_CASE (player_time_calculation_test3) list<string> notes; shared_ptr<FFmpegContent> content (new FFmpegContent (film, doc, film->state_version(), notes)); - AudioStreamPtr stream = content->audio_streams().front(); + AudioStreamPtr stream = content->audio->streams().front(); film->set_sequence (false); film->add_content (content); |
