[Bug 757653] New: pad: add flag to disable reconfigure event on pad linking

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 5 15:01:12 PST 2015


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

            Bug ID: 757653
           Summary: pad: add flag to disable reconfigure event on pad
                    linking
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: thiagossantos at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Linking pads lead to a reconfigure event being sent upstream. This is required
since the linking of a new element can create a scenario where new caps would
be optimal, or perhaps a bufferpool could be used, so this helps the pipeline
adjust. If it is not needed it is harmless as elements would end up noticing
the same caps/bufferpool is still good to be used.

Except that we know in some cases that renegotiation wouldn't be needed. This
can introduce some overhead, specially on autoplugging scenarios.

It would be interesting to have a linking flag to enable/disable reconfigure so
that applications could disable reconfigure when they are sure it isn't needed.

A possible solution is to add a new GstPadLinkCheck flag but this isn't really
a check and would cause code already using GST_PAD_LINK_CHECK_NOTHING to
automatically disable reconfigure and that can break stuff.

Do we want a new gst_pad_link variant? Abuse GstPadLinkCheck in some other way?

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