[gstreamer-bugs] [Bug 370836] Looping feature for gnlobject

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 24 09:04:27 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=370836
  GStreamer | gnonlin | git

--- Comment #7 from rob at yorba.org 2010-08-24 16:04:19 UTC ---
I use a condition variable to notify the seeking thread that a new seek event
is ready.  The mutex that is paired with the condition variable is only locked
to store the event in a local variable (and again, just before g_cond_wait is
called).  It is not held during the send event.

Even if I don't lock the mutex in the seeking thread I still see the same
behavior.  gst_data_queue_pop is waiting on a condition variable for a buffer
to show up and gst_data_queue_push is waiting on a condition variable for a
flush to occur or for the queue to not be full.

I'll likely post the patch later today instead of just talking about the
problems with it :)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list