Quantcast
Channel: Adobe Community : Popular Discussions - After Effects SDK
Viewing all articles
Browse latest Browse all 73444

Working with AEGP_RenderQueueMonitorSuite

$
0
0

Hey guys,

     Does anyone ever use the "AEGP_RenderQueueMonitorSuite1" before?

     I'm trying to use this suite to make render queue report its render status, but I can't get things work.

 

     First of all, "AEGP_RenderQueueMonitorSuite1" can't be accessed from "AEGP_SuiteHandler", so I modified the "AEGP_SuiteHandler.h" file, added in the  "AEGP_RenderQueueMonitorSuite1" support.

 

Here's how I use it

AEGP_RQM_Refcon renderQueueManager;
AEGP_RQM_FunctionBlock1 renderCallbak;
renderCallbak.AEGP_RQM_RenderJobItemUpdated = JobItemUpdated;
ERR(suites.RenderQueueMonitorSuite1()->AEGP_RegisterListener(aegp_plugin_id, renderQueueManager, &JobItemUpdated));

And here's my "JobItemUpdated" function

 

A_Err JobItemUpdated(AEGP_RQM_BasicData *basic_dataP, AEGP_RQM_SessionId jobid, AEGP_RQM_ItemId itemid, AEGP_RQM_FrameId frameid)
{  A_Err err = A_Err_NONE;  AEGP_SuiteHandler suites(globalEntry);  ERR(suites.UtilitySuite5()->AEGP_WriteToOSConsole("render updated!\n"));  return err;
}

After effects said those line cased a unexpected exception, then it crashed.

I can't find any example on how to use the  "AEGP_RenderQueueMonitorSuite1", have you guys ever worked with this suite? Please give me some help! Thanks!

Oh, by the way, I'm using the cs6 SDK.


Viewing all articles
Browse latest Browse all 73444

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>