Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2016-01-03 00:26:23 +0300
committerTim-Philipp Müller <tim@centricular.com>2020-07-10 18:45:29 +0300
commit8e8ac0504cd6e1543805bdc3998947af550b3376 (patch)
tree5d8aa223c54472e74035d7856ce981234090da46 /sys
parent8fa4acacc0a7989a114b18edf79a2447bd58bd5c (diff)
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
Diffstat (limited to 'sys')
-rw-r--r--sys/rpicamsrc/gstrpicamsrc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/rpicamsrc/gstrpicamsrc.c b/sys/rpicamsrc/gstrpicamsrc.c
index 4e21b87b3..b264ac069 100644
--- a/sys/rpicamsrc/gstrpicamsrc.c
+++ b/sys/rpicamsrc/gstrpicamsrc.c
@@ -1118,7 +1118,6 @@ gst_rpi_cam_src_event (GstBaseSrc * parent, GstEvent * event)
} else {
ret = FALSE;
}
- gst_event_unref (event);
} else {
ret = GST_BASE_SRC_CLASS (parent_class)->event (parent, event);
}