[gstreamermm] Gst::Query: segfault fixed
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] Gst::Query: segfault fixed
- Date: Wed, 29 Oct 2014 12:00:09 +0000 (UTC)
commit fe7a13962dc71979b107037766c6f87ce76f1a81
Author: Marcin Kolny <marcin kolny flytronic pl>
Date: Wed Oct 29 12:57:42 2014 +0100
Gst::Query: segfault fixed
* gstreamer/src/query.ccg: 'params' argument in
parse_nth_allocation_meta is transfer-none, so we have to increase
reference if we want to wrap it.
gstreamer/src/query.ccg | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gstreamer/src/query.ccg b/gstreamer/src/query.ccg
index b46bf6d..601fbd6 100644
--- a/gstreamer/src/query.ccg
+++ b/gstreamer/src/query.ccg
@@ -620,7 +620,7 @@ GType QueryAllocation::parse_nth_allocation_meta(guint index, Structure& params)
{
GstStructure *gst_params;
GType ret = gst_query_parse_nth_allocation_meta(const_cast<GstQuery*>(gobj()), index, (const
GstStructure**)&gst_params);
- params = Glib::wrap(gst_params, false);
+ params = Glib::wrap(gst_params, true);
return ret;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]