Any call to set_format() could mean that the stream type changed so we reset the decoder and mark got_headers FALSE.