…efore chaining up in change_state in PAUSED->READY
Otherwise the streaming thread might still be blocked in handle_frame()
while the thread that sent FLUSH_START/changed state is assuming that
everything is unblocking ASAP and waits for the streaming thread to
actually stop.
…efore chaining up in change_state in PAUSED->READY
Otherwise the streaming thread might still be blocked in handle_frame() while the thread that sent FLUSH_START/changed state is assuming that everything is unblocking ASAP and waits for the streaming thread to actually stop.