[gstreamer-bugs] [Bug 596366] lockup in gst_ghost_pad_set_target

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Sep 26 13:12:32 PDT 2009


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

--- Comment #4 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2009-09-26 20:12:30 UTC ---
The lokup happens when the ghostpad is linked. This is a workaround:

    if((peer_pad=gst_pad_get_peer(ghost_pad))) {
      gst_pad_unlink(peer_pad,ghost_pad);
    }

    if(!gst_ghost_pad_set_target(GST_GHOST_PAD(ghost_pad),new_target_pad)) {
      GST_WARNING("failed to link internal pads");
    }

    if(peer_pad) {
      gst_pad_link(peer_pad,ghost_pad);
      gst_object_unref(peer_pad);
    }

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