From: <bi...@ke...> - 2008-01-14 12:44:23
|
CVS Root: /cvs/gstreamer Module: gst-python Changes by: bilboed Date: Mon Jan 14 2008 12:44:22 UTC Log message: * 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. Modified files: . : ChangeLog configure.ac gst : Makefile.am base.defs gst-0.10.15.ignore gst.defs gstversion.override.in pbutils.override testsuite : test_pbutils.py Added files: gst : gst-0.10.16.ignore gst-pb-0.10.16.ignore Removed files: gst : gst-pb-0.10.15.ignore Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/ChangeLog.diff?r1=1.636&r2=1.637 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/configure.ac.diff?r1=1.153&r2=1.154 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/gst/Makefile.am.diff?r1=1.78&r2=1.79 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/gst/base.defs.diff?r1=1.16&r2=1.17 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/gst/gst-0.10.15.ignore.diff?r1=1.3&r2=1.4 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/gst/gst-0.10.16.ignore?rev=1.1&content-type=text/vnd.viewcvs-markup http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/gst/gst-pb-0.10.15.ignore http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/gst/gst-pb-0.10.16.ignore?rev=1.1&content-type=text/vnd.viewcvs-markup http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/gst/gst.defs.diff?r1=1.137&r2=1.138 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/gst/gstversion.override.in.diff?r1=1.12&r2=1.13 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/gst/pbutils.override.diff?r1=1.3&r2=1.4 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/testsuite/test_pbutils.py.diff?r1=1.2&r2=1.3 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-python/ChangeLog,v retrieving revision 1.636 retrieving revision 1.637 diff -u -d -r1.636 -r1.637 --- ChangeLog 13 Jan 2008 21:51:29 -0000 1.636 +++ ChangeLog 14 Jan 2008 12:43:42 -0000 1.637 @@ -1,3 +1,19 @@ +2008-01-14 Edward Hervey <edw...@co...> + + * 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 <edw...@co...> * configure.ac: Index: configure.ac RCS file: /cvs/gstreamer/gst-python/configure.ac,v retrieving revision 1.153 retrieving revision 1.154 diff -u -d -r1.153 -r1.154 --- configure.ac 13 Jan 2008 21:51:29 -0000 1.153 +++ configure.ac 14 Jan 2008 12:43:44 -0000 1.154 @@ -118,6 +118,13 @@ 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 @@ IGNORE_GST_PB_0_10_14="" - if test $GST_PB_MINOR_VERSION -lt "15" + if test $GST_PB_MINOR_VERSION -lt "16" - 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]) - 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, Index: Makefile.am RCS file: /cvs/gstreamer/gst-python/gst/Makefile.am,v retrieving revision 1.78 retrieving revision 1.79 diff -u -d -r1.78 -r1.79 --- Makefile.am 13 Jan 2008 21:51:29 -0000 1.78 +++ Makefile.am 14 Jan 2008 12:43:45 -0000 1.79 @@ -28,8 +28,9 @@ 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) Index: base.defs RCS file: /cvs/gstreamer/gst-python/gst/base.defs,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- base.defs 8 Nov 2007 19:56:54 -0000 1.16 +++ base.defs 14 Jan 2008 12:43:46 -0000 1.17 @@ -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*") Index: gst-0.10.15.ignore RCS file: /cvs/gstreamer/gst-python/gst/gst-0.10.15.ignore,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- gst-0.10.15.ignore 8 Nov 2007 19:56:54 -0000 1.3 +++ gst-0.10.15.ignore 14 Jan 2008 12:43:48 -0000 1.4 @@ -6,6 +6,12 @@ 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 --- NEW FILE: gst-0.10.16.ignore --- %% ignore gst_plugin_register_static gst_util_get_timestamp gst_base_transform_set_gap_aware ignore-type --- gst-pb-0.10.15.ignore DELETED --- --- NEW FILE: gst-pb-0.10.16.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 GstInstallPluginsContext GstInstallPluginsReturn Index: gst.defs RCS file: /cvs/gstreamer/gst-python/gst/gst.defs,v retrieving revision 1.137 retrieving revision 1.138 diff -u -d -r1.137 -r1.138 --- gst.defs 8 Nov 2007 19:56:54 -0000 1.137 +++ gst.defs 14 Jan 2008 12:44:02 -0000 1.138 @@ -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") + '("const-GstPluginDesc*" "desc") (define-method get_name (of-object "GstPlugin") (c-name "gst_plugin_get_name") Index: gstversion.override.in RCS file: /cvs/gstreamer/gst-python/gst/gstversion.override.in,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- gstversion.override.in 13 Jan 2008 21:51:29 -0000 1.12 +++ gstversion.override.in 14 Jan 2008 12:44:03 -0000 1.13 @@ -4,6 +4,7 @@ @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@ %% Index: pbutils.override RCS file: /cvs/gstreamer/gst-python/gst/pbutils.override,v --- pbutils.override 13 Jan 2008 17:24:42 -0000 1.3 +++ pbutils.override 14 Jan 2008 12:44:05 -0000 1.4 @@ -33,6 +33,7 @@ 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 @@ pyg_gil_state_release(state); } +#endif modulename gst.pbutils Index: test_pbutils.py RCS file: /cvs/gstreamer/gst-python/testsuite/test_pbutils.py,v retrieving revision 1.2 diff -u -d -r1.2 -r1.3 --- test_pbutils.py 11 Jan 2008 16:30:45 -0000 1.2 +++ test_pbutils.py 14 Jan 2008 12:44:06 -0000 1.3 @@ -55,12 +55,9 @@ 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) |