playbin3: very short videos freeze on gapless playback
I'm using python on the Raspberry Pi Zero/raspbian for gapless playback of short videos.
Sometimes the "EOS" signal seems to come before "about-to-finish" signal so that the player stalls. gst-player can reproduce the problem with:
gst-play-1.0 --use-playbin3 --videosink kmssink --gapless intro.mp4 loop.mp4 loop.mp4 loop.mp4 loop.mp4 outro.mp4
This stalls in one of the short loop.mp4. Sometimes with
(gst-play-1.0:32238): GStreamer-CRITICAL **: 20:49:36.318: gst_pad_get_stream: assertion 'GST_IS_PAD (pad)' failed
With playbin2, there is no stall but it doesn't display outro.mp4 at all (I'm not sure whether this should be a separate issue).