input_item_UpdateTracksInfo() can replace an es format with the format of a different es
This check is not enough to identify an es:
if (item->es[i]->i_id != fmt->i_id)
So, the es_format_t list of an input_item_t won't be complete. Therefore, the tracklist from libvlc_media_t will have the same issue.
input_item_UpdateTracksInfo() need to identity es with const char *es_str_id