GNOME Bugzilla – Bug 766659
gst_element_seek_simple randomly hangs
Last modified: 2016-11-11 14:52:36 UTC
I am using ubuntu 16.04 and gstreamer/jack/pulseaudio that ships with it. I am creating a pipeline that basically fetches a MP3 file over HTTP, decodes and plays to the JACK. It goes into PAUSED state and once Pipeline is already PAUSED I want to perform an accurate seek to the desired location. Sometimes it works, sometimes don't (no pattern found), but usually it don't. I do check return value of seek, and it returns true. The mainloop is blocked once it happens. I have tried replacing jackaudiosink with alsasink - the same. I have tried disabling accurate seek - the same.
Created attachment 328184 [details] GDB dump with alsasink
Created attachment 328185 [details] GDB dump with jackaudiosink
Created attachment 328186 [details] GST_DEBUG=*:5 with alsasink
Created attachment 328187 [details] GST_DEBUG=*:5 with jackaudiosink
The same happens with Ogg/Opus encoded by gstreamer.
When I replaced seek_simple with seek as described here the problem disappears: https://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-eventsseek.html at least for MP3.
That's equivalent to gst_element_seek_simple() though. Can you provide a testcase application to reproduce this?
I'll try.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks!