Copy link to clipboard
Copied
I cannot make this work like in AE if I want to get the state of the current layer (index 0). I invoke it like
A_Time curr_time = { host_time, ae_data.in_data->time_scale };
A_Time one_frame_dur = { ae_data.in_data->time_step, ae_data.in_data->time_scale };
suites.ParamUtilsSuite3()->PF_GetCurrentState(ae_data.in_data->effect_ref, 0, &curr_time, &one_frame_dur, &ae_state);
Returns different values on every frame. In PP however I always get the same state. Is it supposed to work in PP?
Copy link to clipboard
Copied
@shachar carmiDo you have any idea?
Copy link to clipboard
Copied
sorry, permier is not my strong suite. i can say that the state should be different for every frame if the input layer (or any other layer param) is a video that changes from frame to frame, so even if the param values remain constant the state should change from frame to frame. so i don't know why it would be different in premier.
Copy link to clipboard
Copied
Thank you for the reply! Where can I raise this bug then?
Copy link to clipboard
Copied
i'll ping the egineers and write back here with their answer.
Copy link to clipboard
Copied
Great, thank you!
Copy link to clipboard
Copied
this is the answer i got. bummer.
Copy link to clipboard
Copied
Ok, thank you anyways!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now