Getting composition width in PF_Cmd_USER_CHANGED_PARAM function
Dear AE fellows,
In c++ plugin I'm unable to read out my composition width and height from PF_Cmd_USER_CHANGED_PARAM function.
When I try to read it inside PF_Cmd_USER_CHANGED_PARAM function:
HandleEvent(in_data, out_data, params, output, reinterpret_cast<const PF_UserChangedParamExtra*>(extra));my output pointer is NULL.
How do I get the composition size and width then?
P.S.
In my SmartRender function the output width and height implemented via
ERR(extraP->cb->checkout_output(in_data->effect_ref, &output));
where extraP is sent right into SmartRender as: reinterpret_cast<PF_PreRenderExtra*>(extra)
Somehow this approach didn't work for PF_Cmd_USER_CHANGED_PARAM function.
