[vlc-devel] VLC may become unresponsive if playlist looping is enabled
remi at remlab.net
Tue Mar 20 11:43:38 CET 2018
AFAICT, the Qt GUI is becoming unresponsive when it displays the error dialog. I do not see any problems with the playlist thread. In fact, there are no issues if the loop is triggered with another interface than Qt.
And I don't see how the demux or decoder could possibly know that a file cannot be played. That is a very vague notion.
Le 20 mars 2018 11:54:41 GMT+02:00, Teemu Ikonen <kunteemu at gmail.com> a écrit :
>When playlist looping is enabled and user opens a video file that is
>corrupted or codec not supported VLC becomes unresponsive and has to be
>terminated via Task Manager.
>It appears that the problem is in playlist thread.c that just calls
>immediately after the video has stopped playing (input_dead flag is
>disregarding if file was actually successfully played or not and thus
>tries again to play invalid file causing the busy loop.
>Probably there is currently no way for mux/codec to communicate back
>file can not be played?
>I was thinking fix could be event like INPUT_EVENT_CORRUPTED in
>existing INPUT_EVENT_DEAD that would allow playlist loop to detect
>file and remove it from the playlist.
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel