Commit c0ce6209 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

gst/gstpad.c: Can't access event structure after giving away ownership of the event.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_push_event):
Can't access event structure after giving away ownership of
the event.
parent 170662e2
2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstpad.c: (gst_pad_push_event):
Can't access event structure after giving away ownership of
the event.
2006-11-15 Stefan Kost <ensonic@users.sf.net>
* docs/random/ensonic/embedded.txt:
......@@ -22,7 +28,7 @@
2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Sergey Scobich <sergery.scobich at gmail com>
Patch by: Sergey Scobich <sergey.scobich at gmail com>
* win32/common/libgstreamer.def:
Add two missing symbols (#366492).
......
......@@ -3878,7 +3878,7 @@ gst_pad_push_event (GstPad * pad, GstEvent * event)
g_return_val_if_fail (event != NULL, FALSE);
g_return_val_if_fail (GST_IS_EVENT (event), FALSE);
GST_LOG_OBJECT (pad, "event:%s", GST_EVENT_TYPE_NAME (event));
GST_LOG_OBJECT (pad, "event: %s", GST_EVENT_TYPE_NAME (event));
GST_OBJECT_LOCK (pad);
......@@ -3936,8 +3936,8 @@ gst_pad_push_event (GstPad * pad, GstEvent * event)
result = gst_pad_send_event (peerpad, event);
GST_LOG_OBJECT (pad, "sent event %s to peerpad %" GST_PTR_FORMAT,
GST_EVENT_TYPE_NAME (event), peerpad);
/* Note: we gave away ownership of the event at this point */
GST_LOG_OBJECT (pad, "sent event to peerpad %" GST_PTR_FORMAT, peerpad);
gst_object_unref (peerpad);
return result;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment