Anton Baskanov : amstream: Wait for the state transition to complete in AMMultiMediaStream::SetState.