[Bug 749227] rtsp-server: gst_rtsp_server_attach() is misleading

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 22 12:31:21 PDT 2015


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

--- Comment #1 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
I think a comment similarly to what was added to core. The way around if it's
not the default context is:

  sig = gst_rtsp_server_attach (watch, context)
  source = g_main_context_find_source_by_id (context, sig);
  ... when done ..
  g_source_destroy (source);


This is equivalent and uglier compare to creating a source and then using usual
method to attach the source to the context. Note that GstRtspWatch does not
have a mean to create a source.

-- 
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