[vlc-devel] [PATCH] decoder: empty the input fifo on delete

Rémi Denis-Courmont remi at remlab.net
Wed Sep 2 13:24:31 CEST 2015


Le 2015-09-02 14:05, Rémi Denis-Courmont a écrit :
> Le 2015-09-02 13:54, Rémi Denis-Courmont a écrit :
>> Or stop was requested, and the decoder owner should have flushed the
>> decoder already.
>>
>> Either way, the decoder input queue should be empty already.
>
> It looks like ES out only explicitly flushes on seek, but not on
> stop. Not sure if this should be considered a bug.

And that's because DecoderFlush() waits for the decoder thread to 
complete flusing. Ideally it wouldn't need to do that though.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list