mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
gst/gstbus.override (_wrap_gst_bus_add_watch): This function incorrectly returned self, which was causing the message...
Original commit message from CVS: 2005-12-19 Martin Soto <martinsoto@users.sourceforge.net> * gst/gstbus.override (_wrap_gst_bus_add_watch): This function incorrectly returned self, which was causing the message bus to get prematurely destroyed by the Python interpreter. Now returns Py_None.
This commit is contained in:
parent
c709d39be9
commit
d3b9836bbd
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-12-19 Martin Soto <martinsoto@users.sourceforge.net>
|
||||
|
||||
* gst/gstbus.override (_wrap_gst_bus_add_watch): This function
|
||||
incorrectly returned self, which was causing the message bus to
|
||||
get prematurely destroyed by the Python interpreter. Now returns
|
||||
Py_None.
|
||||
|
||||
2005-12-19 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/gst.override:
|
||||
|
|
|
@ -179,8 +179,8 @@ _wrap_gst_bus_set_sync_handler (PyGObject *self, PyObject *args)
|
|||
(GstBusSyncHandler) bus_sync_handler,
|
||||
data);
|
||||
|
||||
return (PyObject*) self;
|
||||
|
||||
Py_INCREF(Py_None);
|
||||
return Py_None;
|
||||
}
|
||||
%%
|
||||
override gst_bus_add_watch args
|
||||
|
|
Loading…
Reference in a new issue