[gstreamer-bugs] [Bug 578278] gst-ffmpeg: assign offsets (from upstream) to outgoing buffers
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Jul 30 08:11:46 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=578278
GStreamer | gst-ffmpeg | Ver: git
LRN changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #139483|0 |1
is obsolete| |
------- Comment #10 from LRN 2009-07-30 15:11 UTC -------
Created an attachment (id=139565)
--> (http://bugzilla.gnome.org/attachment.cgi?id=139565&action=view)
Same thing, but uses GSize and g_slice
It uses g_list_append(), because most likely next time it tries to *find*
something, it will be the *oldest* item in the list. With _append(), that would
be the head of the list. So i'm losing speed on insertion, but gaining it on
search.
The best approach would be to keep a pointer to the tail of the list, but i'm
not sure it's worth the trouble (is it even possible without crufting around
g_list?).
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=578278.
More information about the Gstreamer-bugs
mailing list