[Bug 705332] New: queue2s global state is effected by buffery queyr handling

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 2 01:57:50 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=705332
  GStreamer | gstreamer (core) | git

           Summary: queue2s global state is effected by buffery queyr
                    handling
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: sjoerd at luon.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


One thing i noticed when studying the queue2 code for a bit is that when a
buffering query is handled it use the get_buffering_percent function to get
some statitics. Unfortunately this function also calculated whether the queue
should be buffering and adapts the global queue2 state in case of state
transitions from/to buffering (including whether a buffering message was posted
on the bus!).

This unfortunately means that there is a race which can cause buffering
messages to never posted  iff the global state changes happen as a result of a
query instead of resulting from bytes flowing in/out..

Unfortunately i didn't have the time to prepare a patch for this one :/

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