[Bug 761913] New: ghostpad: Do nothing in _internal_activate_push_default

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Feb 12 10:26:15 UTC 2016


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

            Bug ID: 761913
           Summary: ghostpad: Do nothing in
                    _internal_activate_push_default
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: havard.graff at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: gstreamer at pexip.com
     GNOME version: ---

Created attachment 320950
  --> https://bugzilla.gnome.org/attachment.cgi?id=320950&action=edit
patch

When calling gst_pad_activate_mode() on a ghostpad
gst_ghost_pad_activate_push_default() will be called. This will call
gst_pad_activate_mode() on the proxypad (which is internal of the
ghostpad), calling gst_ghost_pad_internal_activate_push_default(), which
again will call gst_pad_activate_mode() on the original ghostpad.

By simply returning TRUE in
gst_ghost_pad_internal_activate_push_default() the redundant call to
gst_pad_activate_mode() (for the same pad) is avoided.

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