playbin3: Changing streams in gapless mode is broken (hangs)
playbin3
has a problem with skipping to next stream in gapless mode. If you try to skip near the end of the current stream, then it will just hang.
I have observed this issue in my own player, but it can also be reproduced with gst-play-1.0 (version 1.18.5 as well as in version 05458f05) as follows:
- Run
gst-play-1.0 --gapless --use-playbin3 subprojects/gst-plugins-bad/tests/files/sine.wav subprojects/gst-plugins-bad/tests/files/sine.wav subprojects/gst-plugins-bad/tests/files/sine.wav
. - Play until near the end of the first file. Wait until the player says, "About to finish, ...".
- Quickly hit
>
to skip to the next stream, before the next stream begins. - Player says, "Now playing" and "Prerolling...", but that's it.
Hitting >
again skips to the next stream, but it won't play either.
Hitting <
in step 3 also freezes the player.