blocks: added callback functions to stream_mux and stream_to_tagged_stream