Add ignore file for 0.10.12 API additions

Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gstversion.override.in:
* gst/gst-0.10.12.ignore:
Add ignore file for 0.10.12 API additions
* gst/gst.defs:
* gst/base.defs:
* gst/gst-types.defs:
Add new API definitions
* gst/gst-0.10.10.ignore:
* gst/gst-0.10.11.ignore:
Fixup ignore files.
* testsuite/test_segment.py:
The update return value is uncertain and will soon be deprecated, don't
check against it anymore.
This commit is contained in:
Edward Hervey 2007-01-26 11:58:55 +00:00
parent 7a27ebbd79
commit c5741e1c64
11 changed files with 72 additions and 1 deletions

View file

@ -1,3 +1,21 @@
2007-01-26 Edward Hervey <edward@fluendo.com>
* configure.ac:
* gst/Makefile.am:
* gst/gstversion.override.in:
* gst/gst-0.10.12.ignore:
Add ignore file for 0.10.12 API additions
* gst/gst.defs:
* gst/base.defs:
* gst/gst-types.defs:
Add new API definitions
* gst/gst-0.10.10.ignore:
* gst/gst-0.10.11.ignore:
Fixup ignore files.
* testsuite/test_segment.py:
The update return value is uncertain and will soon be deprecated, don't
check against it anymore.
2007-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
* examples/mixer.py:

View file

@ -141,6 +141,14 @@ then
IGNORE_GST_0_10_11=""
fi
if test $GST_MINOR_VERSION -lt "12"
then
IGNORE_GST_0_10_12="gst-0.10.12.ignore"
else
IGNORE_GST_0_10_12=""
fi
dnl plugins base
if test $GST_PB_MINOR_VERSION -lt "11"
then
IGNORE_GST_PB_0_10_11="gst-pb-0.10.11.ignore"
@ -157,6 +165,7 @@ else
IGNORE_GST_0_10_7=""
IGNORE_GST_0_10_10=""
IGNORE_GST_0_10_11=""
IGNORE_GST_0_10_12=""
IGNORE_GST_PB_0_10_11=""
fi
AC_SUBST(IGNORE_GST_0_10_3)
@ -166,6 +175,7 @@ AC_SUBST(IGNORE_GST_0_10_6)
AC_SUBST(IGNORE_GST_0_10_7)
AC_SUBST(IGNORE_GST_0_10_10)
AC_SUBST(IGNORE_GST_0_10_11)
AC_SUBST(IGNORE_GST_0_10_12)
AC_SUBST(IGNORE_GST_PB_0_10_11)
dnl check for gstreamer-base; uninstalled is selected preferentially

View file

@ -30,6 +30,7 @@ versioned_overrides = \
gst-0.10.7.ignore \
gst-0.10.10.ignore \
gst-0.10.11.ignore \
gst-0.10.12.ignore \
gst-pb-0.10.11.ignore
INCLUDES = $(PYTHON_INCLUDES)

View file

@ -87,6 +87,17 @@
)
)
(define-method copy
(of-object "GstAdapter")
(c-name "gst_adapter_copy")
(return-type "none")
(parameters
'("guint8*" "dest")
'("guint" "offset")
'("guint" "size")
)
)
(define-method flush
(of-object "GstAdapter")
(c-name "gst_adapter_flush")

View file

@ -2,6 +2,8 @@
ignore
gst_segtrap_is_enabled
gst_segtrap_set_enabled
gst_registry_fork_is_enabled
gst_registry_fork_set_enabled
gst_ghost_pad_new_from_template
gst_ghost_pad_new_no_target_from_template
gst_object_set_control_rate

View file

@ -5,4 +5,5 @@ ignore
gst_base_sink_wait_preroll
gst_base_src_wait_playing
gst_tag_list_is_empty
gst_element_state_change_return_get_name
%%

5
gst/gst-0.10.12.ignore Normal file
View file

@ -0,0 +1,5 @@
%%
ignore
gst_update_registry
gst_adapter_copy
%%

View file

@ -534,6 +534,7 @@
'("qos" "GST_EVENT_QOS")
'("seek" "GST_EVENT_SEEK")
'("navigation" "GST_EVENT_NAVIGATION")
'("set-latency" "GST_EVENT_SET_LATENCY")
'("custom-upstream" "GST_EVENT_CUSTOM_UPSTREAM")
'("custom-downstream" "GST_EVENT_CUSTOM_DOWNSTREAM")
'("custom-downstream-oob" "GST_EVENT_CUSTOM_DOWNSTREAM_OOB")

View file

@ -64,6 +64,25 @@
'("gboolean" "enabled")
)
)
(define-function registry_fork_is_enabled
(c-name "gst_registry_fork_is_enabled")
(return-type "gboolean")
)
(define-function registry_fork_set_enabled
(c-name "gst_registry_fork_set_enabled")
(return-type "none")
(parameters
'("gboolean" "enabled")
)
)
(define-function update_registry
(c-name "gst_update_registry")
(return-type "gboolean")
)
(define-function get_gst_version
(c-name "gst_get_gst_version")
(return-type "none")

View file

@ -7,4 +7,6 @@ include
@IGNORE_GST_0_10_7@
@IGNORE_GST_0_10_10@
@IGNORE_GST_0_10_11@
@IGNORE_GST_PB_0_10_11@
@IGNORE_GST_0_10_12@
%%

View file

@ -39,7 +39,8 @@ class SegmentTest(TestCase):
gst.SEEK_TYPE_NONE, 200,
gst.SEEK_TYPE_CUR, -100)
self.assertEquals(update, False)
# the update flag is deprecated, we cannot check for proper behaviour.
#self.assertEquals(update, False)
self.assertEquals(segment.start, 100)
self.assertEquals(segment.stop, -1)