pipeline stuck after 10x speed -> 1x speed -> pause
@mol
Submitted by Michael Olbrich Link to original bug (#770135)
Description
Created attachment 333619
gst-play hack
My application sometimes gets stuck when switching to PAUSED state. The state transition never finishes. With gdb I can see, that the video sink waits in gst_base_sink_wait_preroll() but not the audio sink.
I've reproduced this with big_buck_bunny_1080p_stereo.avi[1] and gst-play from master with the attached patch to generate the correct speed change sequence:
So far I've only seen this
- 5 seconds normal playback
- 10 seconds with 10x speed and GST_SEEK_FLAG_TRICKMODE_NO_AUDIO
- 1 second normal playback
- pause
-> PAUSED state is never reached
[1] https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_1080p_stereo.avi
Patch 333619, "gst-play hack":
0001-gst-play-hack-fast-forward-play-pause-sequence.patch