aboutsummaryrefslogtreecommitdiff
path: root/multimedia/py-gstreamer80/files/patch-gst_gstpad.override
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/py-gstreamer80/files/patch-gst_gstpad.override')
-rw-r--r--multimedia/py-gstreamer80/files/patch-gst_gstpad.override24
1 files changed, 24 insertions, 0 deletions
diff --git a/multimedia/py-gstreamer80/files/patch-gst_gstpad.override b/multimedia/py-gstreamer80/files/patch-gst_gstpad.override
new file mode 100644
index 000000000000..9ab49dc29337
--- /dev/null
+++ b/multimedia/py-gstreamer80/files/patch-gst_gstpad.override
@@ -0,0 +1,24 @@
+--- gst/gstpad.override.orig Wed May 4 06:59:39 2005
++++ gst/gstpad.override Fri Oct 13 12:40:22 2006
+@@ -443,16 +443,15 @@ _wrap_gst_pad_link_filtered(PyGObject *s
+ }
+
+ %%
+-override gst_pad_get_negotiated_caps
++override gst_pad_pull noargs
+ static PyObject *
+-_wrap_gst_pad_get_negotiated_caps(PyGObject *self)
++_wrap_gst_pad_pull(PyGObject *self)
+ {
+- const GstCaps *ret;
++ GstData *ret = (GstData*)gst_pad_pull(GST_PAD(self->obj));
+
+- ret = gst_pad_get_negotiated_caps(GST_PAD(self->obj));
+- /* pyg_boxed_new handles NULL checking */
+- return pyg_boxed_new(GST_TYPE_CAPS, ret, TRUE, TRUE);
++ return pyg_boxed_new(GST_TYPE_DATA, ret, TRUE, TRUE);
+ }
++
+ %%
+ override gst_pad_get_negotiated_caps noargs
+ static PyObject *