Original commit message from CVS:
* gst/gstevent.c: (_gst_event_copy):
Reference source object when copying events, since it'll be
dereferenced on event dereferencing as well.
+2005-01-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
+ * gst/gstevent.c: (_gst_event_copy):
+ Reference source object when copying events, since it'll be
+ dereferenced on event dereferencing as well.
+
2005-01-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* docs/gst/gstreamer-sections.txt:
#endif
memcpy (copy, event, sizeof (GstEvent));
+ if (GST_EVENT_SRC (copy)) {
+ gst_object_ref (GST_EVENT_SRC (copy));
+ }
/* FIXME copy/ref additional fields */
switch (GST_EVENT_TYPE (event)) {