mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
rpicamsrc: basesrc event handlers should not unref
Don't unref the passed event when handling events via the GstBaseSrc src pad event handler - basesrc does the unref. That breaks handling of upstream force-key-unit events by unreffing twice. Fixes https://github.com/thaytan/gst-rpicamsrc/issues/43
This commit is contained in:
parent
8fa4acacc0
commit
8e8ac0504c
1 changed files with 0 additions and 1 deletions
|
@ -1118,7 +1118,6 @@ gst_rpi_cam_src_event (GstBaseSrc * parent, GstEvent * event)
|
||||||
} else {
|
} else {
|
||||||
ret = FALSE;
|
ret = FALSE;
|
||||||
}
|
}
|
||||||
gst_event_unref (event);
|
|
||||||
} else {
|
} else {
|
||||||
ret = GST_BASE_SRC_CLASS (parent_class)->event (parent, event);
|
ret = GST_BASE_SRC_CLASS (parent_class)->event (parent, event);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue