[PATCH 1/2] strmbase: Leave critical section when waiting for the renderer state change.