mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
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.
This commit is contained in:
parent
170662e2c1
commit
c0ce620980
2 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue