mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
pad: fix unit test again after previous commit
https://bugzilla.gnome.org/show_bug.cgi?id=660357
This commit is contained in:
parent
c3dab3df76
commit
9f163262f0
1 changed files with 2 additions and 2 deletions
|
@ -900,7 +900,7 @@ data_probe_callback_marshal(GstPad *pad, GstMiniObject *obj, gpointer user_data)
|
|||
}
|
||||
|
||||
if (args == NULL) {
|
||||
ret = NULL;
|
||||
ret = FALSE;
|
||||
goto beach;
|
||||
}
|
||||
|
||||
|
@ -1401,7 +1401,7 @@ pad_block_callback_marshal(GstPad *pad, gboolean blocked, gpointer user_data)
|
|||
Py_DECREF (tmp);
|
||||
}
|
||||
|
||||
if (args != NULL)
|
||||
if (args == NULL)
|
||||
goto beach;
|
||||
|
||||
ret = PyObject_CallObject(callback, args);
|
||||
|
|
Loading…
Reference in a new issue