[Bug 642373] [basetransform] Avoid too may pad allocs
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Feb 22 04:48:32 PST 2011
https://bugzilla.gnome.org/show_bug.cgi?id=642373
GStreamer | gstreamer (core) | git
Thiago Sousa Santos <thiago.sousa.santos> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |0.10.33
--- Comment #10 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2011-02-22 12:48:29 UTC ---
Pushed.
commit 83597767b169dd6c39a07b6144a650c1f098825a
Author: Thiago Santos <thiago.sousa.santos at collabora.co.uk>
Date: Mon Feb 14 18:05:09 2011 -0300
basetransform: Be smarter with pad allocs
Avoid doing unnecessary pad-allocs when on passthrough mode.
If multiple basetransform elements are on a pipeline, they
would do a pad-alloc for each received buffer, each element
would do this, so we would have lots of pad allocs on the
pipeline for a single buffer being pushed through it.
This patch attempts to reduce this amount by avoiding
doing pad-allocs if the element has already done it
after the last pushed buffer. So it will only be allowed
to do a new pad-alloc after it has pushed a buffer, so we get
1x1 pad-alloc and buffer ratio
https://bugzilla.gnome.org/show_bug.cgi?id=642373
--
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