summaryrefslogtreecommitdiff
path: root/src/sound_frame.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-14 23:59:16 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-14 23:59:16 +0100
commit9486066c29b91a8d9ac25be1c596cad62387208f (patch)
tree181a41967df7a2ccd41ab8ed14d6c99171850bdc /src/sound_frame.h
parent563dbf02e9c7ab0066bcebbcde6c662df845695a (diff)
Support reading of encrypted subtitles.
Diffstat (limited to 'src/sound_frame.h')
-rw-r--r--src/sound_frame.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sound_frame.h b/src/sound_frame.h
index 4c061fdc..3cd3246b 100644
--- a/src/sound_frame.h
+++ b/src/sound_frame.h
@@ -53,6 +53,8 @@ namespace ASDCP {
namespace dcp {
+class DecryptionContext;
+
/** @class SoundFrame
* @brief One &lsquo;frame&rsquo; of sound data from a SoundAsset.
*/
@@ -67,7 +69,7 @@ public:
private:
friend class SoundAssetReader;
- SoundFrame (ASDCP::PCM::MXFReader* reader, int n, ASDCP::AESDecContext *);
+ SoundFrame (ASDCP::PCM::MXFReader* reader, int n, boost::shared_ptr<DecryptionContext>);
/** a buffer to hold the frame */
ASDCP::PCM::FrameBuffer* _buffer;