[Bug 721253] multiqueue: May cause hanging if shut down while handling a serialized query

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 1 18:54:51 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=721253
  GStreamer | gst-plugins | 1.0.5

--- Comment #4 from zhangyanping <zhangyanping210 at 163.com> 2014-01-02 02:54:45 UTC ---
(In reply to comment #3)
> Created an attachment (id=265118)
 View: https://bugzilla.gnome.org/attachment.cgi?id=265118
 Review: https://bugzilla.gnome.org/review?bug=721253&attachment=265118

> diff

Index: gstmultiqueue.c
===================================================================
--- gstmultiqueue.c    (revision 41444)
+++ gstmultiqueue.c    (working copy)
@@ -712,6 +712,9 @@
         sq = (GstSingleQueue *) tmp->data;
         sq->flushing = TRUE;
         g_cond_signal (&sq->turn);
+        
+        sq->last_query = FALSE;
+        g_cond_signal (&sq->query_handled);
       }
       GST_MULTI_QUEUE_MUTEX_UNLOCK (mqueue);
       break;

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