Original commit message from CVS:
2004-10-11 set REAL_NAME environment variable <set EMAIL_ADDRESS environment variable>
* gst/gst.defs:
* gst/gst.override:
Fixes element_unlink_many and adds a set_buffer_data method to GstBuffer
Fixes bug #154451 and #154692
+2004-10-11 set REAL_NAME environment variable <set EMAIL_ADDRESS environment variable>
+
+ * gst/gst.defs:
+ * gst/gst.override:
+ Fixes element_unlink_many and adds a set_buffer_data method to GstBuffer
+ Fixes bug #154451 and #154692
+
2004-10-11 Johan Dahlin <johan@gnome.org>
* gst/arg-types.py:
(return-type "GstBuffer*")
)
+(define-method set_buffer_data
+ (of-object "GstBuffer")
+ (c-name "gst_buffer_set_data")
+ (return-type "none")
+)
;; From /opt/gnome/include/gstreamer-0.7/gst/gstcaps.h
)
)
-(define-method unlink_many
- (of-object "GstElement")
+(define-function element_unlink_many
(c-name "gst_element_unlink_many")
(return-type "none")
(parameters
+ '("GstElement*" "element_1")
'("GstElement*" "element_2")
)
(varargs #t)
len = PyTuple_Size(args);
if (len < 2)
{
- PyErr_SetString(PyExc_TypeError, "gst.element_unlink_many requires at least two argument");
+ PyErr_SetString(PyExc_TypeError, "gst.element_unlink_many requires at least two arguments");
return NULL;
}
i++;
}
-
- return PyInt_FromLong(1);
+ Py_INCREF(Py_None);
+ return Py_None;
}
%%
override GstPad.get_negotiated_caps