I modified the avshws to support splitter. it's can run. but it have blink on
the window which is connected to the second instance pin.

the code is as follows:

NTSTATUS
CCapturePin::
Process (
)
{
PAGED_CODE();

NTSTATUS Status = STATUS_SUCCESS;
PKSSTREAM_POINTER Leading;

if(this->m_Pin->ClientState >= KSSTATE_PAUSE )
{
PKSPIN pinCopySource = NULL;
PKSPIN pinDelegateBranch = NULL;
KsPinGetCopyRelationships(this->m_Pin,
&pinCopySource,
& pinDelegateBranch);
if( pinCopySource == NULL && pinDelegateBranch == NULL)
{
... //original code of avshws
}
else
{
return STATUS_SUCCESS;
}
}