mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
adder: don't access the event after pushing
Fixes valgrind warnings.
This commit is contained in:
parent
bd52f00796
commit
b678f6cf69
1 changed files with 1 additions and 2 deletions
|
@ -1186,8 +1186,7 @@ gst_adder_collected (GstCollectPads * pads, gpointer user_data)
|
|||
|
||||
if (event) {
|
||||
if (!gst_pad_push_event (adder->srcpad, event)) {
|
||||
GST_WARNING_OBJECT (adder->srcpad, "Sending event %p (%s) failed.",
|
||||
event, GST_EVENT_TYPE_NAME (event));
|
||||
GST_WARNING_OBJECT (adder->srcpad, "Sending event failed");
|
||||
}
|
||||
} else {
|
||||
GST_WARNING_OBJECT (adder->srcpad, "Creating new segment event for "
|
||||
|
|
Loading…
Reference in a new issue