Fix problems when adding KDMs to a VF, before adding the OV. v1.8.2
authorCarl Hetherington <cth@carlh.net>
Fri, 8 Oct 2021 10:08:10 +0000 (12:08 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 8 Oct 2021 10:48:43 +0000 (12:48 +0200)
commitaab6630b945371038cc49e456a766ae45cab1f47
treea82f7ceaff2d091bff154e604b9c3e861b2994af
parent99d2243b7674c0673fee5f6f6cd4a65da16db37c
Fix problems when adding KDMs to a VF, before adding the OV.

If we have a KDM which contains keys for all the assets referred
to by a VF (even the ones in the OV) we would previously throw
an exception because we tried to give the KDM to the resolved
assets when it was given to the Reel.

Here we change things so that the addition of KDMs to assets can
be deferred if the asset is not yet resolved.
src/reel.cc
src/reel.h
src/sound_asset.h
test/kdm_test.cc
test/test.cc
test/test.h
test/verify_test.cc