Oops. Not as safe as I thought. One of the `mfmediaengine` tests failed. Looks like we can now be waiting on `stream->event_cond` within `wait_parser_stream_buffer` when `wg_parser_disconnect` is called, which was previously not possible.
So I've just added another commit that sets `eos` and signals `stream->event_cond` within `wg_parser_disconnect`. This fixes the failing test.