[gstreamer-bugs] [Bug 512826] switch / selector event leak

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Feb 1 12:12:19 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=512826

  GStreamer | gst-plugins-bad | Ver: HEAD CVS




------- Comment #4 from Aurelien Grimaud  2008-02-01 20:12 UTC -------
So you mean that I need to gst_object_unref my request pad after
gst_element_release_request_pad ?
This means for the selector :
pad = gst_element_get_request_pad
...
gst_element_release_request_pad(pad)
gst_object_unref(pad)

This is not the common behaviour of other elements right ?
This works if pad is actually active pad, but if not, there will be an extra
unref no ?
If so, why not unreffing the pad when gst_input_selector_release_pad is called
on active pad ?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=512826.




More information about the Gstreamer-bugs mailing list