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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jan 21 02:27:45 PST 2014


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

Wim Taymans <wim.taymans> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.2.3

--- Comment #5 from Wim Taymans <wim.taymans at gmail.com> 2014-01-21 10:27:34 UTC ---
Do you think this is enough for now?

commit 6a88d6f8cdf640d827f1082e4f498fc375fad781
Author: Wim Taymans <wtaymans at redhat.com>
Date:   Tue Jan 21 11:21:56 2014 +0100

    audiobasesink: make _get_time more threadsafe

    We call the _get_time function from the provided clock and we don't lock
    the sink object for performance reasons. Make sure we only read and
    check variables once so that they don't change while we are executing
    the code.

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

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