BRAW SDK 1.3 - GetClipAttribute crashes
Posted: Fri Apr 12, 2019 1:50 pm
I'm trying to move my small app from SDK version 1 to version 1.3 but have problem with GetClipAttribute method that takes an attribute and VARIANT and fills the variant with attribute value. It compiles without errors but crashes on runtime:
Am I using the VARIANT data type incorrectly or what might be the reason for runtime crash? If I comment it out, everything else works as expected. Adding VariantInit(&colorScienceGen) as second line makes no difference.
- Code: Select all
// Load frame development settings from file
VARIANT colorScienceGen;
result = processingAttrs->GetClipAttribute(blackmagicRawClipProcessingAttributeColorScienceGen, &colorScienceGen);
Am I using the VARIANT data type incorrectly or what might be the reason for runtime crash? If I comment it out, everything else works as expected. Adding VariantInit(&colorScienceGen) as second line makes no difference.