[Bug 796737] ASYNC_DONE message is dropped leading to hanging application

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 10 10:19:50 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796737

--- Comment #8 from Joakim Johansson <Joakim.Johansson at axis.com> ---
I our case is the "application" sending a seek event and then wait for sink to
post async-done after seek and retrieve position. ("Wait for preroll")

The problem that we have is that sometimes is the application never receiving
any async_done message on the bus and is hanging forever.

Sure, the state-change is correct in gstbin but the async_done message MUST
always be sent to the application and can not be dropped internally by gstbin.

Or is the application doing wrong to expect to always get the async_done
message when sending a seek event?

gst_element_seek (pb->demuxbin, pb->rate, GST_FORMAT_TIME,
          GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT |
          GST_SEEK_FLAG_SNAP_BEFORE, GST_SEEK_TYPE_SET, pb->timeoffset,
          GST_SEEK_TYPE_SET, stop))

Note: The seek event is done after the state of the pipeline is set to PAUSED.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list