gst/gst-types.defs: GstSegment is properly wrapped

Original commit message from CVS:
* gst/gst-types.defs:
GstSegment is properly wrapped
* gst/gst.defs:
Add GstBin::handle_message virtual method
This commit is contained in:
Edward Hervey 2005-11-21 19:13:57 +00:00
parent 767ea14800
commit 94e5acd317
3 changed files with 33 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2005-11-21 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
GstSegment is properly wrapped
* gst/gst.defs:
Add GstBin::handle_message virtual method
2005-11-21 Edward Hervey <edward@fluendo.com> 2005-11-21 Edward Hervey <edward@fluendo.com>
* gst/gst.override: (_wrap_GST_TIME_ARGS): * gst/gst.override: (_wrap_GST_TIME_ARGS):

View file

@ -266,6 +266,24 @@
) )
) )
(define-boxed Segment
(in-module "Gst")
(c-name "GstSegment")
(gtype-id "GST_TYPE_SEGMENT")
(fields
'("gdouble" "rate")
'("gdouble" "abs_rate")
'("GstFormat" "format")
'("GstSeekFlags" "flags")
'("gint64" "start")
'("gint64" "stop")
'("gint64" "time")
'("gint64" "accum")
'("gint64" "last_stop")
'("gint64" "duration")
)
)
;; Enumerations and flags ... ;; Enumerations and flags ...
(define-flags BinFlags (define-flags BinFlags

View file

@ -187,6 +187,14 @@
) )
) )
(define-virtual handle_message
(of-object "GstBin")
(return-type "none")
(parameters
'("GstMessage*" "message")
)
)
;; From ../gstreamer/gst/gstbuffer.h ;; From ../gstreamer/gst/gstbuffer.h
(define-function buffer_get_type (define-function buffer_get_type