Re: quartz: Implement state transitions in video renderer