Skip to main content
James Whiffin
Legend
June 24, 2022
Answered

Custom arb param gives error in the timeline

  • June 24, 2022
  • 1 reply
  • 431 views

Hi. I have a custom arb param which displays nicely in the ECW. However in the timeline it shows as <error>. I'm sure I'm missing a flag or something, but does anyone know how to not have it show up in the timeline? 

 

def.flags = FLAG_SKIP_REVEAL;
    PF_ADD_ARBITRARY2("",
                      A_long(PF_FpLong(BANNER_WIDTH) * 0.5), // width
                      A_long(PF_FpLong(BANNER_HEIGHT) * 1.0), // height
                      PF_ParamFlag_CANNOT_TIME_VARY,
                      PF_PUI_CONTROL,
                      def.u.arb_d.dephault,
                      BANNER_ID,
                      0);

 

 

The Keylight plugin handles this correctly, the custom banner simply doesn't appear in the timeline. 

This topic has been closed for replies.
Correct answer shachar carmi

if it's PF_PUI_STD_CONTROL_ONLY, do you really need it to be an arb? if it's just for UI, you can use PF_ADD_NULL.

1 reply

James Whiffin
Legend
June 26, 2022

I found the <error> occurs if you don't give the arb param a name. However I'm still stuck regarding how to hide the banner in the timeline whilst having it show in the ECW. Mine is just a static banner so it doesn't need any associated stream, but arb params seem to be unable to have the flag PF_PUI_STD_CONTROL_ONLY even if the supervise flag is also set.

shachar carmiCommunity ExpertCorrect answer
Community Expert
June 26, 2022

if it's PF_PUI_STD_CONTROL_ONLY, do you really need it to be an arb? if it's just for UI, you can use PF_ADD_NULL.

James Whiffin
Legend
June 27, 2022

You're right, I completely overlooked the HistoGrid example which demonstrates this with PF_ADD_NULL. Now it's all working 🙂 Thanks for the tip.