rpicamsrc: basesrc event handlers should not unref
authorJan Schmidt <thaytan@noraisin.net>
Sat, 2 Jan 2016 21:26:23 +0000 (08:26 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 10 Jul 2020 15:45:29 +0000 (16:45 +0100)
commit8e8ac0504cd6e1543805bdc3998947af550b3376
tree5d8aa223c54472e74035d7856ce981234090da46
parent8fa4acacc0a7989a114b18edf79a2447bd58bd5c
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
sys/rpicamsrc/gstrpicamsrc.c