mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:46:13 +00:00
gst/gstpad.override (_wrap_gst_pad_set_blocked_async): PyObject_IsTrue, not PyBool_Check. Grr.
Original commit message from CVS: 2006-04-05 Andy Wingo <wingo@pobox.com> * gst/gstpad.override (_wrap_gst_pad_set_blocked_async): PyObject_IsTrue, not PyBool_Check. Grr.
This commit is contained in:
parent
3136c7ef6d
commit
fda4bddb99
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-04-05 Andy Wingo <wingo@pobox.com>
|
||||||
|
|
||||||
|
* gst/gstpad.override (_wrap_gst_pad_set_blocked_async):
|
||||||
|
PyObject_IsTrue, not PyBool_Check. Grr.
|
||||||
|
|
||||||
2006-04-04 Edward Hervey <edward@fluendo.com>
|
2006-04-04 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
* gst/gst.defs:
|
* gst/gst.defs:
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 6f7101e2227975fa8a134358362dd4b55e326b4c
|
Subproject commit cbedff4d5f090d43fdeaa189748a6651f2c6a07f
|
|
@ -1017,7 +1017,7 @@ _wrap_gst_pad_set_blocked_async (PyGObject *self, PyObject *args)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
pblocked = PySequence_GetItem(args, 0);
|
pblocked = PySequence_GetItem(args, 0);
|
||||||
blocked = PyBool_Check(pblocked) ? TRUE : FALSE;
|
blocked = PyObject_IsTrue(pblocked);
|
||||||
|
|
||||||
callback = PySequence_GetItem(args, 1);
|
callback = PySequence_GetItem(args, 1);
|
||||||
if (!PyCallable_Check(callback)) {
|
if (!PyCallable_Check(callback)) {
|
||||||
|
|
Loading…
Reference in a new issue