[Bug 738279] rtsp-server : Async done message handling in pause and play case

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Oct 30 04:27:56 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=738279
  GStreamer | gst-rtsp-server | 1.4.3

--- Comment #4 from Srimanta Panda <panda_srimanta at yahoo.co.in> 2014-10-30 11:27:50 UTC ---
After applying this patch, when I tested few times it waits for preroll and
times out.

The reason behind this issue is it doesn't get the async done message from
multiudpsink few times. 

Reason for async done message from multiudpsink doesn't appears is explained
below: 

Both gst_base_sink_change_state() and gst_base_sink_chain_main() are called
with preroll lock.  gst_base_sink_chain_main() is needed to post a async done
message to the bus.

After the gst_base_sink_change_state () call it is supposed to call the
gst_base_sink_chain_main (). The change state from play to pause set the
need_prerolll and call_preroll to true. But in-between multiudpsink
gst_multiudpsink_render() goes to flusing and returns GST_FLOW_FLUSHING. And
then it doesn't call gst_base_sink_chain_main() anymore. Therefore it doesnot
post async done message to the bus.


Because of this unexpected behaviour of the multiudpsink, my patch doesnot work
sometimes. So please have a look and suggest if you have any solution how to
fix this issue.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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