summaryrefslogtreecommitdiff
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-05-13 09:24:22 (GMT)
committer Sebastian Dröge <sebastian.droege@collabora.co.uk>2010-05-13 09:24:22 (GMT)
commit721340c32d93558071e00e2f96e4163f7e98d7aa (patch) (side-by-side diff)
tree070a5e98b2aae35157ed6e60a044b8327fc7aa31
parent407b6ecefdbd80a6a4e2ca13575a60ae367e82c0 (diff)
downloadgstreamer-sharp-721340c32d93558071e00e2f96e4163f7e98d7aa.zip
gstreamer-sharp-721340c32d93558071e00e2f96e4163f7e98d7aa.tar.gz
Fix ownership of appsink return values
Patch by kenkela@gmail.com. Fixes bug #618336.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--gstreamer-sharp/Gstreamer.metadata3
1 files changed, 3 insertions, 0 deletions
diff --git a/gstreamer-sharp/Gstreamer.metadata b/gstreamer-sharp/Gstreamer.metadata
index 9a3fc60..e0e75e6 100644
--- a/gstreamer-sharp/Gstreamer.metadata
+++ b/gstreamer-sharp/Gstreamer.metadata
@@ -1638,6 +1638,9 @@
<attr path="/api/namespace/object[@cname='GstAppSink']/signal[@cname='pull-preroll']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GstAppSink']/signal[@cname='pull-buffer']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GstAppSink']/signal[@cname='pull-buffer-list']" name="hidden">1</attr>
+ <attr path="/api/namespace/object[@cname='GstAppSink']/method[@cname='gst_app_sink_pull_buffer']/return-type" name="owned">true</attr>
+ <attr path="/api/namespace/object[@cname='GstAppSink']/method[@cname='gst_app_sink_pull_preroll']/return-type" name="owned">true</attr>
+ <attr path="/api/namespace/object[@cname='GstAppSink']/method[@cname='gst_app_sink_pull_buffer_list']/return-type" name="owned">true</attr>
<attr path="/api/namespace/object[@cname='GstAppSrc']" name="disable_void_ctor">1</attr>
<attr path="/api/namespace/object[@cname='GstAppSrc']/method[@cname='gst_app_src_set_callbacks']" name="hidden">1</attr>