summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-05-13 11:24:22 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-05-13 11:24:22 +0200
commit721340c32d93558071e00e2f96e4163f7e98d7aa (patch)
tree070a5e98b2aae35157ed6e60a044b8327fc7aa31
parent407b6ecefdbd80a6a4e2ca13575a60ae367e82c0 (diff)
Fix ownership of appsink return values
Patch by kenkela@gmail.com. Fixes bug #618336.
-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>