diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-12 00:20:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-12 01:22:10 +0200 |
| commit | 2fa5b7bfeb3826c20f2fe80f272b556d61935063 (patch) | |
| tree | 20ff8625f91de07ee48411fed91caa941d5dd09e /src/cpl.cc | |
| parent | 2c5e61891e7975f4c2d33a5f2ed144645e3078f9 (diff) | |
Split ReelClosedCaptionAsset into Interop and SMPTE parts.
Diffstat (limited to 'src/cpl.cc')
| -rw-r--r-- | src/cpl.cc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -555,7 +555,9 @@ add_encryptable_assets (vector<shared_ptr<T>>& assets, vector<shared_ptr<Reel>> } } for (auto j: i->closed_captions()) { - assets.push_back (j); + if (auto enc = dynamic_pointer_cast<ReelEncryptableAsset>(j)) { + assets.push_back (enc); + } } if (i->atmos ()) { assets.push_back (i->atmos()); |
