rtsp-thread-pool: explained why GSource is a part of ThreadImpl
authorPatricia Muscalu <patricia@axis.com>
Wed, 6 Apr 2016 08:09:46 +0000 (10:09 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 6 Apr 2016 08:46:34 +0000 (09:46 +0100)
Clarified why it is necessary to add source information to
GstRTSPThreadImpl. See the reported bug in GLib:
https://bugzilla.gnome.org/show_bug.cgi?id=720186
for more information.

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

gst/rtsp-server/rtsp-thread-pool.c

index b9ee37b..6c12ac8 100644 (file)
@@ -57,6 +57,8 @@ typedef struct _GstRTSPThreadImpl
 
   gint reused;
   GSource *source;
+  /* FIXME, the source has to be part of GstRTSPThreadImpl, due to a bug in GLib:
+   * https://bugzilla.gnome.org/show_bug.cgi?id=720186 */
 } GstRTSPThreadImpl;
 
 GST_DEFINE_MINI_OBJECT_TYPE (GstRTSPThread, gst_rtsp_thread);