GNOME Bugzilla – Bug 478401
gstbasesrc.c ref count bug
Last modified: 2007-09-19 20:40:14 UTC
The new addition to gstbasesrc to relay custom events has a refcounting bug. It calls gst_pad_push_event() (which eats the reference) and then gst_event_unref() (which eats it again). I'm attaching a simpleminded patch, but maybe Wim will want to do it by avoiding the unref() instead.
Created attachment 95864 [details] [review] Fix double deref in gstbasesrc.c for custom events
* libs/gst/base/gstbasesrc.c: (gst_base_src_send_event): Don't unref the event after pushing it. Fixes #478401.