diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-27 14:19:40 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-27 14:25:17 +0200 |
| commit | 8c27355abdac31c38c2fd5f41e36097dd5360422 (patch) | |
| tree | 44b6a2c452cf3f062eee103a7527b0df0ed0f227 /src | |
| parent | 77add31b0e5d38e307dd5694b634d5614e9133b4 (diff) | |
Fix bug causing failure to decrypt SMPTE subtitles.
Diffstat (limited to 'src')
| -rw-r--r-- | src/reel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reel.cc b/src/reel.cc index e99f7140..daa1067c 100644 --- a/src/reel.cc +++ b/src/reel.cc @@ -322,7 +322,7 @@ Reel::add (DecryptedKDM const & kdm) _main_sound->asset()->set_key (i.key()); } if (_main_subtitle) { - auto smpte = dynamic_pointer_cast<ReelSMPTESubtitleAsset>(_main_picture); + auto smpte = dynamic_pointer_cast<ReelSMPTESubtitleAsset>(_main_subtitle); if (smpte && i.id() == smpte->key_id()) { smpte->smpte_asset()->set_key(i.key()); } |
