Clear mediatype when decoder is being closed, just to be safe.