[Bug 702632] basetransform acceptcaps can be very very slow

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 19 06:13:21 PDT 2013


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

Sjoerd Simons <sjoerd> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Sjoerd Simons <sjoerd at luon.net> 2013-06-19 13:13:17 UTC ---
commit 1815e6067a1077ddb92330b25f172da82f38a3e8
Author: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
Date:   Wed Jun 19 12:30:47 2013 +0200

    pad: Add a filter to the caps_query done by acceptcaps

    Use the caps that the pad is asked to accept as filter for the query

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

commit 12a72d2b086d3052afa41774db62821039bafcad
Author: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
Date:   Wed Jun 19 12:19:02 2013 +0200

    basetransform: optimize default acceptcaps implementation

    Pass the fixed caps we're asked to accept as a filter for the caps
    query, so we don't get a fully-expanded set of caps back (which we don't
    need and can take a lot of time for intersection).

    This reduces the time for camerabin to produce a second frame on a
    logitech C910 camera from around 52 seconds to a bit less then 16
    seconds on my system.

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

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