[gstreamer-bugs] [Bug 344639] Separate threadsafe queuing functionnality in a separate object

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Jul 6 05:04:35 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=344639
 GStreamer | gstreamer (core) | Ver: HEAD CVS


Edward Hervey changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #67165|0                           |1
        is obsolete|                            |




------- Comment #2 from Edward Hervey  2006-07-06 12:04 UTC -------
Created an attachment (id=68463)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=68463&action=view)
Updated version, more versatile.

New version of GstSafeQueue.

* There is no longer any buffer/event-specific code in it
* To cope with that change and be able to handle sizes in bytes/buffers/time,
gst_safe_queue_push() takes argument to specify the size and duration(time) of
the object. The 'visible' flag is set to TRUE if the object has to be taken
into account for size growing (typically buffers are and events aren't). The
'last' flag is set to TRUE when the inserted object is the last one of the
stream/segment and ensures the queue will be drained until that object
(typically for EOS).
* Additional data can be added to the inserted object (along with a
DestroyNotify).

The modified GstQueue, updated for this new GstSafeQueue, is also in the patch.


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




More information about the Gstreamer-bugs mailing list