preparser: don't send vlc_InputItemPreparsedChanged in case of failure
authorThomas Guillem <thomas@gllm.fr>
Thu, 14 Apr 2016 13:20:59 +0000 (15:20 +0200)
committerThomas Guillem <thomas@gllm.fr>
Sun, 17 Apr 2016 05:13:53 +0000 (08:13 +0300)
commitd68541a9a0fcc3538b58a9091a57cc6603cf645b
tree31c51cdb88b95d098622fc315cbe4d929e702288
parentbe5d7c280564c7e91e553ca43d209b48a9ac959c
preparser: don't send vlc_InputItemPreparsedChanged in case of failure

The vlc_InputItemPreparseEnded event should be enough.

There is a compat code inside libvlc in order to don't break old API that are
waiting for a libvlc_MediaParsedChanged, even in case of error.
lib/media.c
src/playlist/preparser.c