h264: ensure that get_format() is called when changing format but not otherwise.