mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
gst/gst.defs: When using gst.Element.send_event() and gst.Pad.send_event() we keep a refcount on the sent event.
Original commit message from CVS: * gst/gst.defs: When using gst.Element.send_event() and gst.Pad.send_event() we keep a refcount on the sent event. * testsuite/test_event.py: Uncomment test to prove above fix
This commit is contained in:
parent
d763780e7f
commit
0ce8abe73d
3 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
|||
2006-02-01 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/gst.defs:
|
||||
When using gst.Element.send_event() and gst.Pad.send_event() we keep
|
||||
a refcount on the sent event.
|
||||
* testsuite/test_event.py:
|
||||
Uncomment test to prove above fix
|
||||
|
||||
2006-02-01 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* testsuite/test_event.py:
|
||||
|
|
|
@ -1115,7 +1115,7 @@
|
|||
(c-name "gst_element_send_event")
|
||||
(return-type "gboolean")
|
||||
(parameters
|
||||
'("GstEvent*" "event")
|
||||
'("GstEvent*" "event" (keep-refcount))
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -3665,7 +3665,7 @@
|
|||
(c-name "gst_pad_send_event")
|
||||
(return-type "gboolean")
|
||||
(parameters
|
||||
'("GstEvent*" "event")
|
||||
'("GstEvent*" "event" (keep-refcount))
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
@ -165,7 +165,7 @@ class TestDelayedEventProbe(TestCase):
|
|||
time.sleep(0.1)
|
||||
self.assertEquals(self.pipeline.__gstrefcount__, 1)
|
||||
|
||||
def FIXMEtestProbe(self):
|
||||
def testProbe(self):
|
||||
self.srcpad.add_event_probe(self._event_probe_cb)
|
||||
self._buffer_probe_id = self.srcpad.add_buffer_probe(
|
||||
self._buffer_probe_cb)
|
||||
|
|
Loading…
Reference in a new issue