From 94e5acd31774b3e4ddba0430bc4fccbed4206a45 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 21 Nov 2005 19:13:57 +0000 Subject: [PATCH] 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 --- ChangeLog | 7 +++++++ gst/gst-types.defs | 18 ++++++++++++++++++ gst/gst.defs | 8 ++++++++ 3 files changed, 33 insertions(+) diff --git a/ChangeLog b/ChangeLog index da225a51b4..61d059be70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-11-21 Edward Hervey + + * gst/gst-types.defs: + GstSegment is properly wrapped + * gst/gst.defs: + Add GstBin::handle_message virtual method + 2005-11-21 Edward Hervey * gst/gst.override: (_wrap_GST_TIME_ARGS): diff --git a/gst/gst-types.defs b/gst/gst-types.defs index 75dd2d0eb2..519805cb2e 100644 --- a/gst/gst-types.defs +++ b/gst/gst-types.defs @@ -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 ... (define-flags BinFlags diff --git a/gst/gst.defs b/gst/gst.defs index 2bf3777dc6..8cc1269423 100644 --- a/gst/gst.defs +++ b/gst/gst.defs @@ -187,6 +187,14 @@ ) ) +(define-virtual handle_message + (of-object "GstBin") + (return-type "none") + (parameters + '("GstMessage*" "message") + ) +) + ;; From ../gstreamer/gst/gstbuffer.h (define-function buffer_get_type