Expected buffering messages are sometimes not sent
This is what's happening:
- A stream is playing.
- Next "uri" is set in the
about-to-finish
handler. - After the stream has finished, GStreamer sends buffer level 100%, then 0%.
- Player sets the pipeline to
PAUSED
because of the buffer underrun. It waits for buffer level 100% andPAUSED
state being reached before setting the pipeline back toPLAYING
state. -
PAUSED
is reached. - No buffering messages are sent, so the pipeline remains in
PAUSED
state forever.
Observed with version 220f56da.
Log with GST_DEBUG=2,urisourcebin:8,*decodeb*:8,playb*:8
:
no_more_buffering_messages.log
I had to seek to near the end of stream several times before I could finally trigger the bug.