mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
pad: don't try to pretty-print event after we've given away ownership
Might cause crashes with debug logging enabled. https://bugzilla.gnome.org/show_bug.cgi?id=683996
This commit is contained in:
parent
0c1686915f
commit
bc5cc2eb07
1 changed files with 2 additions and 3 deletions
|
@ -4480,9 +4480,8 @@ gst_pad_push_event_unchecked (GstPad * pad, GstEvent * event,
|
||||||
|
|
||||||
/* Note: we gave away ownership of the event at this point but we can still
|
/* Note: we gave away ownership of the event at this point but we can still
|
||||||
* print the old pointer */
|
* print the old pointer */
|
||||||
GST_LOG_OBJECT (pad,
|
GST_LOG_OBJECT (pad, "sent event %p to peerpad %" GST_PTR_FORMAT ", ret %s",
|
||||||
"sent event %" GST_PTR_FORMAT " to peerpad %"
|
event, peerpad, gst_flow_get_name (ret));
|
||||||
GST_PTR_FORMAT ", ret %s", event, peerpad, gst_flow_get_name (ret));
|
|
||||||
|
|
||||||
gst_object_unref (peerpad);
|
gst_object_unref (peerpad);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue