[0.10] gst-python: video: fix refcount for gst.video. event_new_*_force_key_unit
Alessandro Decina
alessandro at kemper.freedesktop.org
Thu Apr 12 22:18:25 PDT 2012
Module: gst-python
Branch: 0.10
Commit: 5aa8d08e85966158d9e5615f2918e51fb85f33f6
URL: http://cgit.freedesktop.org/gstreamer/gst-python/commit/?id=5aa8d08e85966158d9e5615f2918e51fb85f33f6
Author: Alessandro Decina <alessandro.d at gmail.com>
Date: Fri Apr 13 07:17:28 2012 +0200
video: fix refcount for gst.video.event_new_*_force_key_unit
---
gst/video.defs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gst/video.defs b/gst/video.defs
index b4cf2fd..f5b7c47 100644
--- a/gst/video.defs
+++ b/gst/video.defs
@@ -372,6 +372,7 @@
(define-function event_new_downstream_force_key_unit
(c-name "gst_video_event_new_downstream_force_key_unit")
+ (caller-owns-return #t)
(return-type "GstEvent*")
(parameters
'("GstClockTime" "timestamp")
@@ -397,6 +398,7 @@
(define-function event_new_upstream_force_key_unit
(c-name "gst_video_event_new_upstream_force_key_unit")
+ (caller-owns-return #t)
(return-type "GstEvent*")
(parameters
'("GstClockTime" "running_time")
More information about the gstreamer-commits
mailing list