-
Thomas Guillem authored
Because having two differents events for the same objective is way too confusing (libvlc_MediaParsedStatus was recently added by me). libvlc_MediaParsedCharged is now always sent after a call to libvlc_media_parse_*() (this was not the case if the pre-parsing was skipped). The core vlc_InputItemPreparsedChanged event is now only attached from the media player. This allows the libvlc_MediaParsedCharged event to be sent when a media is parsed from a media player. /!\ Behavior change in libvlc API /!\ The libvlc_event_t.u.media_parsed_changed.new_status value changed, this is now a libvlc_media_parsed_status_t. Before this patch, this value was always set to true, even in case of parse failure/skipped. Now this value can be skipped (1), failed (2) or done (3). There should be no changes for users that were checking if new_status was true, since this events was called for these 3 cases (that are all > 0).
9126e33f