mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
2004-10-11 set REAL_NAME environment variable <set EMAIL_ADDRESS environment variable>
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
This commit is contained in:
parent
1a232d7366
commit
2425cf1e64
3 changed files with 17 additions and 5 deletions
|
@ -1,3 +1,10 @@
|
|||
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:
|
||||
|
|
|
@ -295,6 +295,11 @@
|
|||
(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
|
||||
|
@ -1243,11 +1248,11 @@
|
|||
)
|
||||
)
|
||||
|
||||
(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)
|
||||
|
|
|
@ -337,7 +337,7 @@ _wrap_gst_element_unlink_many(PyObject *self, PyObject *args)
|
|||
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;
|
||||
}
|
||||
|
||||
|
@ -368,8 +368,8 @@ _wrap_gst_element_unlink_many(PyObject *self, PyObject *args)
|
|||
|
||||
i++;
|
||||
}
|
||||
|
||||
return PyInt_FromLong(1);
|
||||
Py_INCREF(Py_None);
|
||||
return Py_None;
|
||||
}
|
||||
%%
|
||||
override GstPad.get_negotiated_caps
|
||||
|
|
Loading…
Reference in a new issue