Hello, <br><br>Can someone please explain how afterGettingFrame() and afterGettingFrame1() should be used? Specifically, if there are initialization steps that a custom filter must do when it receives the very first frame from its source, where should they be implemented? 
<br><br>In all the example implementations, afterGettingFrame() simply calls its own implementation of afterGettingFrame1(). afterGettingFrame1() never gets triggered directly (?). <br><br>My setup is as follows: source -&gt; AACtoPCMfilter -&gt; PCMtoAACfilter -&gt; ...
<br><br>Specifically, I want PCMtoAACfilter to do some one-time actions when it receives the first frame from its predecessor. <br><br>Thanks,<br>Mathur<br><br>PS: Using a static variable as a flag is one obvious way to do it, but there may be cleaner ways... 
<br><br><br>