Commit 7b27608a authored by Edward Hervey's avatar Edward Hervey

Series of update for new API added to 0.10.16.

Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/base.defs:
* gst/gst-0.10.15.ignore:
* gst/gst-0.10.16.ignore:
* gst/gst-pb-0.10.15.ignore:
* gst/gst-pb-0.10.16.ignore:
* gst/gst.defs:
* gst/gstversion.override.in:
* gst/pbutils.override:
* testsuite/test_pbutils.py:
Series of update for new API added to 0.10.16.
Remove wrong ignore file for 0.10.15 -base.
parent d8ea05be
2008-01-14 Edward Hervey <edward.hervey@collabora.co.uk>
* configure.ac:
* gst/Makefile.am:
* gst/base.defs:
* gst/gst-0.10.15.ignore:
* gst/gst-0.10.16.ignore:
* gst/gst-pb-0.10.15.ignore:
* gst/gst-pb-0.10.16.ignore:
* gst/gst.defs:
* gst/gstversion.override.in:
* gst/pbutils.override:
* testsuite/test_pbutils.py:
Series of update for new API added to 0.10.16.
Remove wrong ignore file for 0.10.15 -base.
2008-01-13 Edward Hervey <edward.hervey@collabora.co.uk>
* configure.ac:
......
......@@ -118,6 +118,13 @@ then
IGNORE_GST_0_10_15=""
fi
if test $GST_MINOR_VERSION -lt "16"
then
IGNORE_GST_0_10_16="gst-0.10.16.ignore"
else
IGNORE_GST_0_10_16=""
fi
dnl plugins base
if test $GST_PB_MINOR_VERSION -lt "14"
then
......@@ -126,28 +133,32 @@ then
IGNORE_GST_PB_0_10_14=""
fi
if test $GST_PB_MINOR_VERSION -lt "15"
if test $GST_PB_MINOR_VERSION -lt "16"
then
IGNORE_GST_PB_0_10_15="gst-pb-0.10.15.ignore"
IGNORE_GST_PB_0_10_16="gst-pb-0.10.16.ignore"
else
IGNORE_GST_PB_0_10_15=""
IGNORE_GST_PB_0_10_16=""
AC_DEFINE_UNQUOTED(HAVE_PLUGINS_INSTALL, 1, [We can use the plugins-install methods])
fi
else
IGNORE_GST_0_10_13=""
IGNORE_GST_0_10_14=""
IGNORE_GST_0_10_15=""
IGNORE_GST_0_10_16=""
IGNORE_GST_PB_0_10_14=""
IGNORE_GST_PB_0_10_15=""
IGNORE_GST_PB_0_10_16=""
AC_DEFINE_UNQUOTED(HAVE_PLUGINS_INSTALL, 1, [We can use the plugins-install methods])
fi
AC_DEFINE_UNQUOTED(HAVE_VIDEO_ORIENTATION_INTERFACE, 1, [We can use the videoorientation interface])
AC_SUBST(IGNORE_GST_0_10_13)
AC_SUBST(IGNORE_GST_0_10_14)
AC_SUBST(IGNORE_GST_0_10_15)
AC_SUBST(IGNORE_GST_0_10_16)
AC_SUBST(IGNORE_GST_PB_0_10_14)
AC_SUBST(IGNORE_GST_PB_0_10_15)
AC_SUBST(IGNORE_GST_PB_0_10_16)
AC_SUBST(HAVE_VIDEO_ORIENTATION)
AC_SUBST(HAVE_PLUGINS_INSTALL)
dnl check for gstreamer-base; uninstalled is selected preferentially
PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQ,
......
......@@ -28,8 +28,9 @@ versioned_overrides = \
gst-0.10.13.ignore \
gst-0.10.14.ignore \
gst-0.10.15.ignore \
gst-0.10.16.ignore \
gst-pb-0.10.14.ignore \
gst-pb-0.10.15.ignore \
gst-pb-0.10.16.ignore \
gst-disable-loadsave.ignore
INCLUDES = $(PYTHON_INCLUDES)
......
......@@ -617,6 +617,15 @@
(return-type "gboolean")
)
(define-method set_gap_aware
(of-object "GstBaseTransform")
(c-name "gst_base_transform_set_gap_aware")
(return-type "none")
(parameters
'("gboolean" "gap_aware")
)
)
(define-virtual transform_caps
(of-object "GstBaseTransform")
(return-type "GstCaps*")
......
......@@ -6,6 +6,12 @@ ignore
gst_bus_pop_filtered
gst_bus_timed_pop_filtered
gst_base_sink_get_last_buffer
gst_base_sink_set_async_enabled
gst_base_sink_is_async_enabled
gst_base_sink_set_ts_offset
gst_base_sink_get_ts_offset
gst_base_src_set_do_timestamp
gst_base_src_get_do_timestamp
GstURIHandler__do_get_protocols_full
GstURIHandler__proxy_do_get_protocols_full
GstURIHandler__do_get_type_full
......
%%
ignore
gst_plugin_register_static
gst_util_get_timestamp
gst_base_transform_set_gap_aware
%%
ignore-type
%%
%%
ignore
gst_base_sink_set_async_enabled
gst_base_sink_is_async_enabled
gst_base_sink_set_ts_offset
gst_base_sink_get_ts_offset
gst_base_src_set_do_timestamp
gst_base_src_get_do_timestamp
%%
ignore-type
LFOControlSource
LFOWaveform
%%
\ No newline at end of file
%%
ignore
gst_install_plugins_context_new
gst_install_plugins_context_free
gst_install_plugins_context_set_xid
gst_install_plugins_async
gst_install_plugins_sync
gst_install_plugins_return_get_name
%%
ignore-type
GstInstallPluginsContext
GstInstallPluginsReturn
%%
......@@ -4245,6 +4245,11 @@
)
)
(define-function util_get_timestamp
(c-name "gst_util_get_timestamp")
(return-type "GstClockTime")
)
(define-function pad_load_and_link
(c-name "gst_pad_load_and_link")
(return-type "none")
......@@ -4444,6 +4449,14 @@
(return-type "GType")
)
(define-function plugin_register_static
(c-name "gst_plugin_register_static")
(return-type "gboolean")
(parameters
'("const-GstPluginDesc*" "desc")
)
)
(define-method get_name
(of-object "GstPlugin")
(c-name "gst_plugin_get_name")
......
......@@ -4,6 +4,7 @@ include
@IGNORE_GST_0_10_14@
@IGNORE_GST_PB_0_10_14@
@IGNORE_GST_0_10_15@
@IGNORE_GST_PB_0_10_15@
@IGNORE_GST_0_10_16@
@IGNORE_GST_PB_0_10_16@
@IGNORE_GST_LOADSAVE@
%%
......@@ -33,6 +33,7 @@ headers
GST_DEBUG_CATEGORY_EXTERN (pygst_debug);
#define GST_CAT_DEFAULT pygst_debug
#ifdef HAVE_PLUGINS_INSTALL
static void
install_plugins_result_handler(GstInstallPluginsReturn result, gpointer user_data)
{
......@@ -70,6 +71,7 @@ install_plugins_result_handler(GstInstallPluginsReturn result, gpointer user_dat
pyg_gil_state_release(state);
}
#endif
%%
modulename gst.pbutils
%%
......
......@@ -55,12 +55,9 @@ class Descriptions(TestCase):
def testAddCodecDescription(self):
assert hasattr(gst.pbutils, 'add_codec_description_to_tag_list')
class InstallPlugins(TestCase):
def testPluginsContext(self):
assert hasattr(gst.pbutils, "InstallPluginsContext")
# TODO
# Add tests for the other parts of pbutils:
# * missing-plugins
# * install-plugins
# * install-plugins (and detect if there weren't compiled because of a version
# of plugins-base too low)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment