AEGP_GetNewKeyframeSpatialTangents returns incorrect data
Hi All,
I'm trying to read the in/out value of the animated mask stream.
I used the AEGP_GetNewKeyframeSpatialTangents function
AEGP_StreamValue2 tangIn_ = { }, tangOut_ = { };
ERR(keyframeSuite4->AEGP_GetNewKeyframeSpatialTangents(pluginId, streamHandle, keFrameIndex, &tangIn_, &tangOut_));
After using the values, I'm trying to dispose the output values,
streamSuite3->AEGP_DisposeStreamValue(&tangIn_)
streamSuite3->AEGP_DisposeStreamValue(&tangOut_)
and that crashes the AE (2014).
Any ideas why AEGP_GetNewKeyframeSpatialTangents return incorrect streamH value in the AEGP_StreamValue2?