From 8e43142645252daeeaccbad7b9f3ed746c4b2382 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 28 Jun 2024 23:12:42 +0200 Subject: {,Interop,SMPTE}SubtitleAsset -> {,Interop,SMPTE}TextAsset. --- test/decryption_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/decryption_test.cc') diff --git a/test/decryption_test.cc b/test/decryption_test.cc index 62b25500..273b4efa 100644 --- a/test/decryption_test.cc +++ b/test/decryption_test.cc @@ -48,7 +48,7 @@ #include "reel_sound_asset.h" #include "reel_smpte_text_asset.h" #include "rgb_xyz.h" -#include "smpte_subtitle_asset.h" +#include "smpte_text_asset.h" #include "sound_asset.h" #include "sound_asset_writer.h" #include "stream_operators.h" @@ -178,7 +178,7 @@ BOOST_AUTO_TEST_CASE (decryption_test2) sound_writer->write(audio.data(), 2, 48000); sound_writer->finalize (); - auto subs_asset = std::make_shared(); + auto subs_asset = std::make_shared(); subs_asset->set_key (key); subs_asset->set_context_id (context_id); subs_asset->add(std::make_shared( @@ -236,7 +236,7 @@ BOOST_AUTO_TEST_CASE (decryption_test2) BOOST_REQUIRE (reel_read->main_sound()); BOOST_CHECK (reel_read->main_sound()->asset()->key()); BOOST_REQUIRE (reel_read->main_subtitle()); - auto smpte_sub = dynamic_pointer_cast(reel_read->main_subtitle()->asset()); + auto smpte_sub = dynamic_pointer_cast(reel_read->main_subtitle()->asset()); BOOST_REQUIRE (smpte_sub); BOOST_CHECK (smpte_sub->key()); } -- cgit v1.2.3