[Bug 797289] dispatch write never ends

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Oct 18 08:01:10 UTC 2018


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #373956|none                        |needs-work
             status|                            |

--- Comment #9 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 373956:
 --> (https://bugzilla.gnome.org/review?bug=797289&attachment=373956)

::: gst/rtsp-server/rtsp-client.c
@@ +2569,3 @@
   }

+  gst_rtsp_stream_set_watch_context(stream, g_main_context_ref
(priv->watch_context));

Let the function itself take a new reference

::: gst/rtsp-server/rtsp-stream.c
@@ +4355,3 @@
+  g_mutex_unlock (&priv->lock);
+  g_object_unref (stream);
+  return FALSE;

G_SOURCE_REMOVE

@@ +4400,3 @@
+      g_source_attach (idle_src, priv->watch_context);
+    }
+    else

{} please

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