AVstream Pin-centric Driver Issue

Hi,

I am trying to write a AVstream Decode Driver with a input and output pin. For the very first Process Dispatch for Input Pin, I do a KsPinAttemptProcessing on the output pin ( defined KSPIN_FLAG_DO_NOT_INITIATE_PROCESSING on the pin descriptor). However, what happens after this is, the Process Dispatch for the Output Pin is called repeatedly even if I advance the LeadingEdge Pointer and return STATUS_SUCCESS for the IRP calling the Output Pin Process Dispatch.

Any ideas on what could be the issue here?