[Bug 763337] New: capsfilter: remove unnecessary gst_pad_has_current_caps() calls for each buffer

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 8 18:38:14 UTC 2016


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

            Bug ID: 763337
           Summary: capsfilter: remove unnecessary
                    gst_pad_has_current_caps() calls for each buffer
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Keywords: perf
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: t.i.m at zen.co.uk
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

capsfilter seems to do a lot of gst_pad_get_current_caps() which I think are
entirely superfluous and from the comments in the code this is a leftover of
caps-being-set-on-buffers or such, e.g. in gst_capsfilter_prepare_buf().

We should be able to optimise that.

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