fmp4mux: Fixed state cleanup on flush
State cleanup was incomplete. If a flush happens we do not have any buffers anymore so all buffer queue related settings must be cleared on the state. Flush action has been moved into state impl.
Fixes #636 (closed)
Edited by Jochen Henneberg