vlc | branch: master | Thomas Guillem <[email protected]> | Tue Oct 22 12:43:24 2019 +0200| [84033610c7841ce937d33a19fba11655da8e3e08] | committer: Thomas Guillem
lib: media: reset parsed_status on new parse request Otherwise, events are not propagated after the first request. cf. f37171e57b0d0af922215ffed19111a4f317fb29 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=84033610c7841ce937d33a19fba11655da8e3e08 --- lib/media.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/media.c b/lib/media.c index d4e3ba7a62..f045c729d2 100644 --- a/lib/media.c +++ b/lib/media.c @@ -779,7 +779,10 @@ static int media_parse(libvlc_media_t *media, bool b_async, needed = !media->has_asked_preparse; media->has_asked_preparse = true; if (needed) + { media->is_parsed = false; + media->parsed_status = 0; + } vlc_mutex_unlock(&media->parsed_lock); if (needed) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
