diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-06-14 01:13:40 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-06-14 01:13:40 +0200 |
| commit | aa0ddb0342874c085ceac6bd9fc4608240d83d47 (patch) | |
| tree | 4ed1ff948450b59bc90578b62b8f784ea801a568 /src | |
| parent | 00c0fe5947b3734c548194d617c3939d27aef57c (diff) | |
Fix crash when giving KDMs to MPEG2 assets.
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 ce654f6f..a298194f 100644 --- a/src/reel.cc +++ b/src/reel.cc @@ -349,7 +349,7 @@ Reel::give_kdm_to_assets (DecryptedKDM const & kdm) { for (auto const& i: kdm.keys()) { if (_main_picture && i.id() == _main_picture->key_id() && _main_picture->asset_ref().resolved()) { - _main_picture->j2k_asset()->set_key(i.key()); + _main_picture->asset()->set_key(i.key()); } if (_main_sound && i.id() == _main_sound->key_id() && _main_sound->asset_ref().resolved()) { _main_sound->asset()->set_key (i.key()); |
