pad: fix unit test again after previous commit

https://bugzilla.gnome.org/show_bug.cgi?id=660357
This commit is contained in:
Tim-Philipp Müller 2012-03-07 16:50:11 +00:00
parent c3dab3df76
commit 9f163262f0

View file

@ -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);