mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-12 04:11:31 +00:00
gst/gstpad.override: Removed overriding of gst_caps_get_negotiated_caps, the codegenerator handles it much better (hi...
Original commit message from CVS: * gst/gstpad.override: Removed overriding of gst_caps_get_negotiated_caps, the codegenerator handles it much better (hint:don't copy)
This commit is contained in:
parent
58c3c18b93
commit
3459b34ef0
2 changed files with 6 additions and 20 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-09-30 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/gstpad.override:
|
||||
Removed overriding of gst_caps_get_negotiated_caps, the codegenerator
|
||||
handles it much better (hint:don't copy)
|
||||
|
||||
2005-09-30 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/gst.defs:
|
||||
|
|
|
@ -493,26 +493,6 @@ _wrap_gst_pad_link_filtered(PyGObject *self, PyObject *args, PyObject *kwargs)
|
|||
}
|
||||
return PyBool_FromLong(ret);
|
||||
}
|
||||
|
||||
%%
|
||||
override gst_pad_get_negotiated_caps
|
||||
static PyObject *
|
||||
_wrap_gst_pad_get_negotiated_caps(PyGObject *self)
|
||||
{
|
||||
const GstCaps *ret;
|
||||
|
||||
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);
|
||||
}
|
||||
%%
|
||||
override gst_pad_get_negotiated_caps noargs
|
||||
static PyObject *
|
||||
_wrap_gst_pad_get_negotiated_caps(PyGObject *self)
|
||||
{
|
||||
GstCaps *ret = (GstCaps*)gst_pad_get_negotiated_caps(GST_PAD(self->obj));
|
||||
return pyg_boxed_new(GST_TYPE_CAPS, ret, TRUE, TRUE);
|
||||
}
|
||||
%%
|
||||
override gst_pad_get_pad_template_caps noargs
|
||||
static PyObject *
|
||||
|
|
Loading…
Reference in a new issue