[Bug 720661] audiobasesink: Fix locking bug accessing ring buffer time

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jan 21 02:03:35 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=720661
  GStreamer | gst-plugins-base | unspecified

--- Comment #4 from Wim Taymans <wim.taymans at gmail.com> 2014-01-21 10:03:28 UTC ---
I don't really want to block the whole object for all queries.. The problem is
here that the get-time function of the clock calls into the basesink without
locking for performance reasons. Essentially, you could have this problem as
well if someone gets the current time and the ringbuffer is released.

I'm thinking of doing the rate and ringbuffer checks only once in
gst_audio_base_sink_get_time().

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