Skip to main content
Known Participant
February 19, 2024
Answered

Question about Transmitter plugin

  • February 19, 2024
  • 1 reply
  • 1592 views

Hi Aodbe

 

I am testing the transmitter plug-in among the plug-in example sources.

If you look at the Adobe premiere sdk document, it says that the Startup function is called to start the plug-in, and Shutdown is called to release the plugin.

 

But shotdown function of the transmitter plug-in is not called.

 

When developing a transmitter plugin, is there a function that needs to be additionally set or called so that the shutdown function is called?

Or do you need to change any settings in Premiere Pro?

 

Please tell me what I should do.

 

Thanks.!!

 

Best Regards,

Andy Hwang

 

This topic has been closed for replies.
Correct answer Bruce Bullis

To get sent Shutdown, the transmitter must have allocated memory during Startup.

1 reply

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
February 19, 2024

To get sent Shutdown, the transmitter must have allocated memory during Startup.

Known Participant
February 20, 2024

What do you mean by Memory?

Do you mean ioPrivatePluginData in tmStdParams?

 

ioPrivatePluginData is the same as provided in the original sample. New TransmitPlugin class and put it in ioPrivatePluginData.

 

 

[source code]

static tmResult Startup(
       tmStdParms* ioStdParms,
       tmPluginInfo* outPluginInfo)
{
     ioStdParms->ioPrivatePluginData = (void*)new TransmitPlugin(ioStdParms, outPluginInfo);
     return tmResult_Success;
}

 

Please tell me what I should do.

Inspiring
March 7, 2024

I have the same issue and I am allocating memory during Startup.