diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2005-04-12 17:02:12 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2005-04-12 17:02:12 +0000 |
commit | aedd0234747a44fc9f9e940c04b263a127fe1390 (patch) | |
tree | 70d24daac9cab52766c5ef384eeb65fbdabe59b7 | |
parent | 487a4d94ec822aec8273fed422df003482f5b8be (diff) |
use macros to cast; fix probe warningBRANCH-GSTREAMER-0_8-ROOT
Original commit message from CVS:
use macros to cast; fix probe warning
-rw-r--r-- | gst/gst.override | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/gst.override b/gst/gst.override index 6f2df36..06e5288 100644 --- a/gst/gst.override +++ b/gst/gst.override @@ -726,9 +726,9 @@ _wrap_gst_probe_perform(PyGBoxed *self, PyObject *args, PyObject *kwargs) /* FIXME: GstBuffer and GstEvent are not really "subclasses" so we hardcode checks for them here by hand. Ugh. */ if (pyg_boxed_check(py_data, GST_TYPE_EVENT)) - data = pyg_boxed_get(py_data, GstEvent); + data = GST_DATA(pyg_boxed_get(py_data, GstEvent)); if (pyg_boxed_check(py_data, GST_TYPE_BUFFER)) - data = pyg_boxed_get(py_data, GstBuffer); + data = GST_DATA(pyg_boxed_get(py_data, GstBuffer)); if (pyg_boxed_check(py_data, GST_TYPE_DATA)) data = pyg_boxed_get(py_data, GstData); @@ -750,7 +750,7 @@ _wrap_gst_plugin_get_version(PyGObject *self) gint i = 0; gint count = 0; - version = gst_plugin_get_version((GstPlugin *) self->obj); + version = gst_plugin_get_version(GST_PLUGIN(self->obj)); items = g_strsplit(version, ".", 4); for (p = items; *p; ++p) ++count; |