Update for API changes.
authorEdward Hervey <bilboed@bilboed.com>
Tue, 9 May 2006 14:24:02 +0000 (14:24 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 9 May 2006 14:24:02 +0000 (14:24 +0000)
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.6.ignore:
* gst/gst.defs:
* gst/gstversion.override.in:
Update for API changes.
Added ignore files for core 0.10.6 API additions.

ChangeLog
configure.ac
gst/Makefile.am
gst/gst-0.10.6.ignore [new file with mode: 0644]
gst/gst.defs
gst/gstversion.override.in

index 11b7eec..caa373f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2006-05-09  Edward Hervey  <edward@fluendo.com>
 
+       * configure.ac:
+       * gst/Makefile.am:
+       * gst/gst-0.10.6.ignore:
+       * gst/gst.defs:
+       * gst/gstversion.override.in:
+       Update for API changes.
+       Added ignore files for core 0.10.6 API additions.
+
+2006-05-09  Edward Hervey  <edward@fluendo.com>
+
        * gst/gst.override:
        Reverting previous patches for conditional ignore.
        It can't be done from within override files.
index deb4561..a8295e3 100644 (file)
@@ -106,14 +106,23 @@ then
   else
     IGNORE_GST_0_10_5=""
   fi
+
+  if test $GST_MINOR_VERSION -lt "6"
+  then
+    IGNORE_GST_0_10_6="gst-0.10.6.ignore"
+  else
+    IGNORE_GST_0_10_6=""
+  fi
 else
   IGNORE_GST_0_10_3=""
   IGNORE_GST_0_10_4=""
   IGNORE_GST_0_10_5=""
+  IGNORE_GST_0_10_6=""
 fi
 AC_SUBST(IGNORE_GST_0_10_3)
 AC_SUBST(IGNORE_GST_0_10_4)
 AC_SUBST(IGNORE_GST_0_10_5)
+AC_SUBST(IGNORE_GST_0_10_6)
 
 dnl check for gstreamer-base; uninstalled is selected preferentially
 PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQ,
index 8fb1a65..2802333 100644 (file)
@@ -25,7 +25,8 @@ noinst_HEADERS = common.h pygstvalue.h pygstminiobject.h pygstobject.h pygstexce
 versioned_overrides = \
        gst-0.10.3.ignore       \
        gst-0.10.4.ignore       \
-       gst-0.10.5.ignore
+       gst-0.10.5.ignore       \
+       gst-0.10.6.ignore
 
 INCLUDES = $(PYTHON_INCLUDES)
 EXTRA_DIST = $(defs_DATA) $(versioned_overrides) common.h arg-types.py
diff --git a/gst/gst-0.10.6.ignore b/gst/gst-0.10.6.ignore
new file mode 100644 (file)
index 0000000..3a31b8a
--- /dev/null
@@ -0,0 +1,6 @@
+%%
+ignore
+  gst_event_new_new_segment_full
+  gst_event_parse_new_segment_full
+  gst_segment_set_newsegment_full
+%%
index 01ad358..12cbc73 100644 (file)
   )
 )
 
+(define-function event_new_new_segment_full
+  (c-name "gst_event_new_new_segment_full")
+  (return-type "GstEvent*")
+  (caller-owns-return #t)
+  (parameters
+    '("gboolean" "update")
+    '("gdouble" "rate")
+    '("gdouble" "applied_rate")
+    '("GstFormat" "format")
+    '("gint64" "start")
+    '("gint64" "stop")
+    '("gint64" "position")
+  )
+)
+
 (define-method parse_new_segment
   (of-object "GstEvent")
   (c-name "gst_event_parse_new_segment")
   )
 )
 
+(define-method parse_new_segment_full
+  (of-object "GstEvent")
+  (c-name "gst_event_parse_new_segment_full")
+  (return-type "none")
+  (parameters
+    '("gboolean*" "update")
+    '("gdouble*" "rate")
+    '("gdouble*" "applied_rate")
+    '("GstFormat*" "format")
+    '("gint64*" "start")
+    '("gint64*" "stop")
+    '("gint64*" "position")
+  )
+)
+
 (define-method parse_tag
   (of-object "GstEvent")
   (c-name "gst_event_parse_tag")
   )
 )
 
+(define-method set_newsegment_full
+  (of-object "GstSegment")
+  (c-name "gst_segment_set_newsegment_full")
+  (return-type "none")
+  (parameters
+    '("gboolean" "update")
+    '("gdouble" "rate")
+    '("gdouble" "applied_rate")
+    '("GstFormat" "format")
+    '("gint64" "start")
+    '("gint64" "stop")
+    '("gint64" "time")
+  )
+)
+
 (define-method to_stream_time
   (of-object "GstSegment")
   (c-name "gst_segment_to_stream_time")
index fd417b8..b4584e0 100644 (file)
@@ -3,4 +3,5 @@ include
 @IGNORE_GST_0_10_3@
 @IGNORE_GST_0_10_4@
 @IGNORE_GST_0_10_5@
+@IGNORE_GST_0_10_6@
 %%