mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-19 20:46:22 +00:00
gst/gstmessage.override (_wrap_gst_message_parse_error): Always return a tuple of length 2.
Original commit message from CVS: 2005-08-03 Andy Wingo <wingo@pobox.com> * gst/gstmessage.override (_wrap_gst_message_parse_error): Always return a tuple of length 2.
This commit is contained in:
parent
e6c416ca0d
commit
27ca26ae0b
2 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2005-08-03 Andy Wingo <wingo@pobox.com>
|
2005-08-03 Andy Wingo <wingo@pobox.com>
|
||||||
|
|
||||||
|
* gst/gstmessage.override (_wrap_gst_message_parse_error): Always
|
||||||
|
return a tuple of length 2.
|
||||||
|
|
||||||
* examples/pipeline-tester: Commit some updates I had.
|
* examples/pipeline-tester: Commit some updates I had.
|
||||||
|
|
||||||
* configure.ac (PYGST_CFLAGS): pygst.py generation is handled by
|
* configure.ac (PYGST_CFLAGS): pygst.py generation is handled by
|
||||||
|
|
|
@ -97,8 +97,12 @@ _wrap_gst_message_parse_error (PyGstMiniObject *self)
|
||||||
|
|
||||||
ret = PyList_New(0);
|
ret = PyList_New(0);
|
||||||
PyList_Append(ret, pyg_boxed_new (GST_TYPE_G_ERROR, error, TRUE, TRUE));
|
PyList_Append(ret, pyg_boxed_new (GST_TYPE_G_ERROR, error, TRUE, TRUE));
|
||||||
if (debug != NULL)
|
if (debug != NULL) {
|
||||||
PyList_Append(ret, PyString_FromString(debug));
|
PyList_Append(ret, PyString_FromString(debug));
|
||||||
|
} else {
|
||||||
|
Py_INCREF (Py_None);
|
||||||
|
PyList_Append(ret, Py_None);
|
||||||
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue