[Bug 635718] [basesrc] custom, non-OOB events aren't pushed downstream

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Apr 7 01:55:42 PDT 2011


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

--- Comment #2 from Sebastian Dröge <slomo at circular-chaos.org> 2011-04-07 08:55:38 UTC ---
There are two refcount problems in your sample btw.

* gst_bin_get_by_name() returns a new ref and you should unref the element
again after usage
* gst_element_send_event() takes ownership of the event, if you want to use the
event afterwards (e.g. send it a second time) you have to increase the refcount
before sending it

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gstreamer-bugs mailing list