diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-25 22:34:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-25 22:34:21 +0100 |
| commit | f3617efde1751ac9e55f692369dc4ba3c6350ca8 (patch) | |
| tree | 48c17abf1dbadf276229c3aafdcd9b06d155a771 /test | |
| parent | 0fabbb1680b5042570d50a2276004e2c0e62321c (diff) | |
Show audio bit depth in content properties (#559).
Diffstat (limited to 'test')
| -rw-r--r-- | test/frame_rate_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/frame_rate_test.cc b/test/frame_rate_test.cc index 90216af5c..610ac0380 100644 --- a/test/frame_rate_test.cc +++ b/test/frame_rate_test.cc @@ -263,7 +263,7 @@ BOOST_AUTO_TEST_CASE (audio_sampling_rate_test) afr.push_back (30); Config::instance()->set_allowed_dcp_frame_rates (afr); - shared_ptr<FFmpegAudioStream> stream (new FFmpegAudioStream ("foo", 0, 0, 0, 0)); + auto stream = std::make_shared<FFmpegAudioStream>("foo", 0, 0, 0, 0, 0); content->audio.reset (new AudioContent (content.get())); content->audio->add_stream (stream); content->_video_frame_rate = 24; |
