platform/upstream/gstreamer.git
19 years agoUse gst.element_factory_make in play example
Johan Dahlin [Tue, 23 Nov 2004 10:16:58 +0000 (10:16 +0000)]
Use gst.element_factory_make in play example

Original commit message from CVS:
* examples/gst/play.py:
* gst/gst-types.defs:
* gst/gst.override:
* testsuite/Makefile.am:
* testsuite/common.py:
* testsuite/event.py:
* testsuite/test_event.py:

Use gst.element_factory_make in play example

Use boxed instead of pointer for gst.Event, it was such an ugly
hack.

Ref the event when sending using gst.element_send_event.

Add a bunch of testcases (and a C module), renamed event to
test_event.py

19 years ago0.8.0
Johan Dahlin [Mon, 15 Nov 2004 14:13:58 +0000 (14:13 +0000)]
0.8.0

Original commit message from CVS:
0.8.0

19 years agogst/gst.override (_wrap_gst_tag_setter_get_list): Override, to avoid compiler warning.
Johan Dahlin [Mon, 15 Nov 2004 12:13:57 +0000 (12:13 +0000)]
gst/gst.override (_wrap_gst_tag_setter_get_list): Override, to avoid compiler warning.

Original commit message from CVS:
* gst/gst.override (_wrap_gst_tag_setter_get_list): Override, to
avoid compiler warning.

19 years agogst/gstmodule.c (init_gst): Reset LC_NUMERIC, since it might change in gst_init_check...
Johan Dahlin [Mon, 15 Nov 2004 11:51:50 +0000 (11:51 +0000)]
gst/gstmodule.c (init_gst): Reset LC_NUMERIC, since it might change in gst_init_check. Fixes 100% CPU usage in flumot...

Original commit message from CVS:
* gst/gstmodule.c (init_gst): Reset LC_NUMERIC, since it might
change in gst_init_check. Fixes 100% CPU usage in flumotion
when using a non C locale.

19 years agopkgconfig/gst-python-uninstalled.pc.in: set pyexecdir for uninstalled as well
Thomas Vander Stichele [Thu, 11 Nov 2004 16:23:58 +0000 (16:23 +0000)]
pkgconfig/gst-python-uninstalled.pc.in: set pyexecdir for uninstalled as well

Original commit message from CVS:
* pkgconfig/gst-python-uninstalled.pc.in:
set pyexecdir for uninstalled as well

19 years agoUse expose instead of after_realize_cb+idle_add
Johan Dahlin [Tue, 9 Nov 2004 12:10:34 +0000 (12:10 +0000)]
Use expose instead of after_realize_cb+idle_add

Original commit message from CVS:
Use expose instead of after_realize_cb+idle_add

20 years agoAdd xml tests
Johan Dahlin [Fri, 5 Nov 2004 17:43:05 +0000 (17:43 +0000)]
Add xml tests

Original commit message from CVS:
Add xml tests

20 years agoreinstate now that johan woke up and commited Makefile.am
Thomas Vander Stichele [Fri, 5 Nov 2004 17:39:52 +0000 (17:39 +0000)]
reinstate now that johan woke up and commited Makefile.am

Original commit message from CVS:
reinstate now that johan woke up and commited Makefile.am

20 years agoAdd the makefile too, bla bla bla
Johan Dahlin [Fri, 5 Nov 2004 17:39:48 +0000 (17:39 +0000)]
Add the makefile too, bla bla bla

Original commit message from CVS:
Add the makefile too, bla bla bla

20 years agoupdate spec file
Christian Schaller [Fri, 5 Nov 2004 17:39:21 +0000 (17:39 +0000)]
update spec file

Original commit message from CVS:
update spec file

20 years agoand another needed fix for buildbot
Thomas Vander Stichele [Fri, 5 Nov 2004 17:38:36 +0000 (17:38 +0000)]
and another needed fix for buildbot

Original commit message from CVS:
and another needed fix for buildbot

20 years agomake autogen build work
Thomas Vander Stichele [Fri, 5 Nov 2004 17:35:05 +0000 (17:35 +0000)]
make autogen build work

Original commit message from CVS:
make autogen build work

20 years ago0.7.94
Johan Dahlin [Fri, 5 Nov 2004 17:28:41 +0000 (17:28 +0000)]
0.7.94

Original commit message from CVS:
0.7.94

20 years agoAdd examples/gstplay/ here
Johan Dahlin [Fri, 5 Nov 2004 17:24:11 +0000 (17:24 +0000)]
Add examples/gstplay/ here

Original commit message from CVS:
Add examples/gstplay/ here

20 years agogst/gst.override (tag_foreach_func_list): Disable lists instead of raising an exception.
Johan Dahlin [Thu, 4 Nov 2004 15:31:11 +0000 (15:31 +0000)]
gst/gst.override (tag_foreach_func_list): Disable lists instead of raising an exception.

Original commit message from CVS:
* gst/gst.override (tag_foreach_func_list): Disable lists instead
of raising an exception.

* gst/gst-types.defs (ImplementsInterface, TagSetter): Define
these here.

20 years agogst/interfaces.override (_wrap_gst_mixer_list_tracks): Impl.
Johan Dahlin [Thu, 4 Nov 2004 10:44:28 +0000 (10:44 +0000)]
gst/interfaces.override (_wrap_gst_mixer_list_tracks): Impl.

Original commit message from CVS:
* gst/interfaces.override (_wrap_gst_mixer_list_tracks): Impl.
(_wrap_gst_tuner_list_norms, _wrap_gst_tuner_list_channels): Plug
leaks.

20 years agono idea who broke this
Thomas Vander Stichele [Sun, 17 Oct 2004 17:02:25 +0000 (17:02 +0000)]
no idea who broke this

Original commit message from CVS:
no idea who broke this

20 years agoAdd examples
Johan Dahlin [Mon, 11 Oct 2004 17:48:37 +0000 (17:48 +0000)]
Add examples

Original commit message from CVS:
Add examples

20 years agoRelease 0.7.93
Johan Dahlin [Mon, 11 Oct 2004 16:01:45 +0000 (16:01 +0000)]
Release 0.7.93

Original commit message from CVS:
Release 0.7.93

20 years agoPass distcheck please
Johan Dahlin [Mon, 11 Oct 2004 15:19:24 +0000 (15:19 +0000)]
Pass distcheck please

Original commit message from CVS:
Pass distcheck please

20 years agomore build fixes
Johan Dahlin [Mon, 11 Oct 2004 13:43:26 +0000 (13:43 +0000)]
more build fixes

Original commit message from CVS:
more build fixes

20 years agoand the gstplay examples
Johan Dahlin [Mon, 11 Oct 2004 10:17:28 +0000 (10:17 +0000)]
and the gstplay examples

Original commit message from CVS:
and the gstplay examples

20 years agoUpdate examples, remove some old non-functional ones and add new
Johan Dahlin [Mon, 11 Oct 2004 09:55:44 +0000 (09:55 +0000)]
Update examples, remove some old non-functional ones and add new

Original commit message from CVS:
Update examples, remove some old non-functional ones and add new

20 years ago2004-10-11 set REAL_NAME environment variable <set EMAIL_ADDRESS environment variable>
Zaheer Abbas Merali [Mon, 11 Oct 2004 09:45:40 +0000 (09:45 +0000)]
2004-10-11  set REAL_NAME environment variable  <set EMAIL_ADDRESS environment variable>

Original commit message from CVS:
2004-10-11  set REAL_NAME environment variable  <set EMAIL_ADDRESS environment variable>

* gst/gst.defs:
* gst/gst.override:
Fixes element_unlink_many and adds a set_buffer_data method to GstBuffer
Fixes bug #154451 and #154692

20 years agogst/:
Johan Dahlin [Mon, 11 Oct 2004 09:24:15 +0000 (09:24 +0000)]
gst/:

Original commit message from CVS:
* gst/arg-types.py:
* gst/gst.defs:
* gst/gst.override:

GstXML support, based on patch by poelzi.

20 years agogst/gst.override: Remove gst.Element support. Fix broken pad repr function.
Johan Dahlin [Mon, 11 Oct 2004 09:01:23 +0000 (09:01 +0000)]
gst/gst.override: Remove gst.Element support. Fix broken pad repr function.

Original commit message from CVS:
* gst/gst.override: Remove gst.Element support. Fix broken pad
repr function.

20 years agoAdd some hackery hackery
Johan Dahlin [Mon, 11 Oct 2004 08:56:52 +0000 (08:56 +0000)]
Add some hackery hackery

Original commit message from CVS:
Add some hackery hackery

20 years agoDefine the URIHandler interface here
Johan Dahlin [Mon, 11 Oct 2004 08:51:28 +0000 (08:51 +0000)]
Define the URIHandler interface here

Original commit message from CVS:
Define the URIHandler interface here

20 years agoDon't use gst.Element
Johan Dahlin [Mon, 11 Oct 2004 08:47:37 +0000 (08:47 +0000)]
Don't use gst.Element

Original commit message from CVS:
Don't use gst.Element

20 years agoRequire PyGTK 2.4
Johan Dahlin [Mon, 11 Oct 2004 08:45:04 +0000 (08:45 +0000)]
Require PyGTK 2.4

Original commit message from CVS:
Require PyGTK 2.4

20 years agogst/gstmodule.c: Make gst-python not hang on import when embedded.
Zaheer Abbas Merali [Sun, 10 Oct 2004 20:49:27 +0000 (20:49 +0000)]
gst/gstmodule.c: Make gst-python not hang on import when embedded.

Original commit message from CVS:
2004-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/gstmodule.c: (init_gst):
Make gst-python not hang on import when embedded.
Fixes bug #155041

20 years agoUse pyg_gil_state_*
Johan Dahlin [Thu, 7 Oct 2004 10:05:12 +0000 (10:05 +0000)]
Use pyg_gil_state_*

Original commit message from CVS:
Use pyg_gil_state_*

20 years agoRevert, since we have code which depends on this "feature"
Johan Dahlin [Mon, 4 Oct 2004 14:58:40 +0000 (14:58 +0000)]
Revert, since we have code which depends on this "feature"

Original commit message from CVS:
Revert, since we have code which depends on this "feature"

20 years agogst/interfaces.defs: Add proper fiels to GstTunerNorm. Also remove parent property...
Johan Dahlin [Mon, 4 Oct 2004 10:45:46 +0000 (10:45 +0000)]
gst/interfaces.defs: Add proper fiels to GstTunerNorm. Also remove parent property from all interfaces.

Original commit message from CVS:
* gst/interfaces.defs: Add proper fiels to GstTunerNorm. Also
remove parent property from all interfaces.

20 years agocomment
Thomas Vander Stichele [Wed, 29 Sep 2004 11:37:55 +0000 (11:37 +0000)]
comment

Original commit message from CVS:
comment

20 years agogst/gstmodule.c (python_do_pending_calls): Use
Johan Dahlin [Wed, 29 Sep 2004 11:13:21 +0000 (11:13 +0000)]
gst/gstmodule.c (python_do_pending_calls): Use

Original commit message from CVS:
* gst/gstmodule.c (python_do_pending_calls): Use
PyOS_InterruptOccurred and only hold the GIL during
PyErr_SetNone. Use _pygst_main_quit to avoid errors/aborts. Also
use the pygtk provided gil macros instead of the python ones.

20 years agofix threading issues here aswell
Johan Dahlin [Wed, 22 Sep 2004 18:01:45 +0000 (18:01 +0000)]
fix threading issues here aswell

Original commit message from CVS:
fix threading issues here aswell

20 years agogst/gst.override: use new threading API
Johan Dahlin [Wed, 22 Sep 2004 16:34:08 +0000 (16:34 +0000)]
gst/gst.override: use new threading API

Original commit message from CVS:
* gst/gst.override: use new threading API

20 years agogst/: fix headers
Thomas Vander Stichele [Mon, 13 Sep 2004 07:31:31 +0000 (07:31 +0000)]
gst/: fix headers

Original commit message from CVS:
2004-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>

* gst/__init__.py:
* gst/gstreamer.py:
* gst/arg-types.py:
fix headers
* gst/gst.override:
change GstPad repr
* gst/ltihooks.py:
fix distcheck for uninstalled by only adding .libs when needed

20 years agogst/gst.override (_wrap_gst_structure_ass_subscript): Some more fixes, doesn't quite...
Johan Dahlin [Mon, 30 Aug 2004 10:42:36 +0000 (10:42 +0000)]
gst/gst.override (_wrap_gst_structure_ass_subscript): Some more fixes, doesn't quite work as it should yet though.x

Original commit message from CVS:
* gst/gst.override (_wrap_gst_structure_ass_subscript): Some more
fixes, doesn't quite work as it should yet though.x
(_wrap_gst_caps_tp_str): Plug leak

* gst/interfaces.defs (Mixer, MixerTrack): Add mixer fields here.

* testsuite/element.py (QueueTest.testConstruct): Some basic test,
one disabled for the moment

20 years agogst/interfaces.defs (TunerNorm, TunerChannel): Add fields.
Johan Dahlin [Thu, 12 Aug 2004 17:16:33 +0000 (17:16 +0000)]
gst/interfaces.defs (TunerNorm, TunerChannel): Add fields.

Original commit message from CVS:
* gst/interfaces.defs (TunerNorm, TunerChannel): Add fields.

20 years agogst/interfaces.override (_wrap_gst_tuner_list_norms)
Johan Dahlin [Thu, 12 Aug 2004 17:05:33 +0000 (17:05 +0000)]
gst/interfaces.override (_wrap_gst_tuner_list_norms)

Original commit message from CVS:
* gst/interfaces.override (_wrap_gst_tuner_list_norms)
(_wrap_gst_tuner_list_channels): Impl.

20 years agov4l example in progress
Thomas Vander Stichele [Thu, 12 Aug 2004 16:07:07 +0000 (16:07 +0000)]
v4l example in progress

Original commit message from CVS:
v4l example in progress

20 years agosome fixes, not all
Thomas Vander Stichele [Thu, 12 Aug 2004 15:00:17 +0000 (15:00 +0000)]
some fixes, not all

Original commit message from CVS:
some fixes, not all

20 years agoTake a slightly different approach to converting to structure fields
Johan Dahlin [Fri, 6 Aug 2004 19:19:41 +0000 (19:19 +0000)]
Take a slightly different approach to converting to structure fields

Original commit message from CVS:
Take a slightly different approach to converting to structure fields

20 years agoone item list with structure
Thomas Vander Stichele [Fri, 6 Aug 2004 19:03:50 +0000 (19:03 +0000)]
one item list with structure

Original commit message from CVS:
one item list with structure

20 years agoMore testing
Johan Dahlin [Fri, 6 Aug 2004 19:03:08 +0000 (19:03 +0000)]
More testing

Original commit message from CVS:
More testing

20 years agoadd constructor for caps
Thomas Vander Stichele [Fri, 6 Aug 2004 18:49:53 +0000 (18:49 +0000)]
add constructor for caps

Original commit message from CVS:
add constructor for caps

20 years agoEnable this test too
Johan Dahlin [Fri, 6 Aug 2004 18:16:59 +0000 (18:16 +0000)]
Enable this test too

Original commit message from CVS:
Enable this test too

20 years agogst/gst.override (_wrap_gst_structure_from_string): Impl.
Johan Dahlin [Fri, 6 Aug 2004 18:14:30 +0000 (18:14 +0000)]
gst/gst.override (_wrap_gst_structure_from_string): Impl.

Original commit message from CVS:
* gst/gst.override (_wrap_gst_structure_from_string): Impl.
(_wrap_gst_tag_list_has_key): Impl.
(_wrap_gst_caps_get_structure): Don't copy or free me

* testsuite/struct.py (StructureTest.testStructureChange): Enable
some tests.
Improve tests

* gst/gst.override (_wrap_gst_structure_ass_subscript): Impl

20 years agotwo new tests, one that fails
Thomas Vander Stichele [Fri, 6 Aug 2004 17:38:42 +0000 (17:38 +0000)]
two new tests, one that fails

Original commit message from CVS:
two new tests, one that fails

20 years agotestsuite/struct.py (StructureTest.testStructureChange): Enable some tests.
Johan Dahlin [Fri, 6 Aug 2004 14:18:28 +0000 (14:18 +0000)]
testsuite/struct.py (StructureTest.testStructureChange): Enable some tests.

Original commit message from CVS:
* testsuite/struct.py (StructureTest.testStructureChange): Enable
some tests.

* gst/gst.override (_wrap_gst_structure_ass_subscript): Impl

20 years agoadd testsuite for struct
Thomas Vander Stichele [Thu, 5 Aug 2004 14:25:58 +0000 (14:25 +0000)]
add testsuite for struct

Original commit message from CVS:
add testsuite for struct

20 years agoconfigure.ac: Require python 2.3
Johan Dahlin [Tue, 3 Aug 2004 17:07:38 +0000 (17:07 +0000)]
configure.ac: Require python 2.3

Original commit message from CVS:
* configure.ac: Require python 2.3

* gst/gstmodule.c (python_do_pending_calls): Use PyGILState and
friends here.

* gst/gst.override (_pygst_main_quit, _pygst_main): Use these two
instead of gst_main/gst_main_quit so we can check if we're in a
mainloop or not.

20 years agoallow no name for thread and pipeline
Thomas Vander Stichele [Mon, 2 Aug 2004 17:33:54 +0000 (17:33 +0000)]
allow no name for thread and pipeline

Original commit message from CVS:
allow no name for thread and pipeline

20 years agopkgconfig/gst-python.pc.in (pyexecdir): Add and remove comments for all other variables.
Johan Dahlin [Fri, 16 Jul 2004 09:11:56 +0000 (09:11 +0000)]
pkgconfig/gst-python.pc.in (pyexecdir): Add and remove comments for all other variables.

Original commit message from CVS:
* pkgconfig/gst-python.pc.in (pyexecdir): Add and remove comments
for all other variables.

20 years agoClean up error handling
Johan Dahlin [Thu, 15 Jul 2004 14:57:48 +0000 (14:57 +0000)]
Clean up error handling

Original commit message from CVS:
Clean up error handling

20 years agotestsuite/registry.py: Add some basic tests
Johan Dahlin [Thu, 15 Jul 2004 10:15:18 +0000 (10:15 +0000)]
testsuite/registry.py: Add some basic tests

Original commit message from CVS:
* testsuite/registry.py: Add some basic tests

* gst/gst.override: Don't ignore all gst_registry_* symbols
(_wrap_gst_registry_pool_plugin_list): Impl.
(_wrap_gst_registry_pool_feature_list): Impl.

* gst/gst-types.defs (Plugin): Add as a boxed

20 years agogst/__init__.py: Use DLFCN instead of dl to help python installations without the...
Johan Dahlin [Thu, 15 Jul 2004 09:48:22 +0000 (09:48 +0000)]
gst/__init__.py: Use DLFCN instead of dl to help python installations without the dl module (gentoo for instance)

Original commit message from CVS:
* gst/__init__.py: Use DLFCN instead of dl to help python
installations without the dl module (gentoo for instance)

20 years agogst/gst.override (_wrap_gst_pad_query, _wrap_gst_element_query)
Johan Dahlin [Tue, 13 Jul 2004 10:08:45 +0000 (10:08 +0000)]
gst/gst.override (_wrap_gst_pad_query, _wrap_gst_element_query)

Original commit message from CVS:
* gst/gst.override (_wrap_gst_pad_query, _wrap_gst_element_query)
(_wrap_gst_pad_convert): Remove exceptions, return Long values
(and convert from LongLongs) and clean up a little)

20 years agotestsuite/element.py (QueryTest.testQuery): Another small test
Johan Dahlin [Tue, 13 Jul 2004 09:08:32 +0000 (09:08 +0000)]
testsuite/element.py (QueryTest.testQuery): Another small test

Original commit message from CVS:
* testsuite/element.py (QueryTest.testQuery): Another small test

* gst/gst.override (_wrap_gst_element_query): Ditto
(_wrap_gst_pad_convert): Ditto

20 years agotestsuite/event.py (EventFileSrcTest.setUp): Start the pipeline, so we don't get...
Johan Dahlin [Tue, 13 Jul 2004 09:00:07 +0000 (09:00 +0000)]
testsuite/event.py (EventFileSrcTest.setUp): Start the pipeline, so we don't get warnings when sending events

Original commit message from CVS:
* testsuite/event.py (EventFileSrcTest.setUp): Start the pipeline,
so we don't get warnings when sending events
(EventTest.setUp): Ditto.

* testsuite/pad.py: New test, only testing simple pad queries so far.

* testsuite/Makefile.am (tests): Add missing tests

* gst/gst.override (_wrap_gst_pad_query): Raise RuntimeError if
the return value is False and only return the queried value.

20 years agoconfigure.ac: Correctly check for XML tools. Correctly set
David Schleef [Sat, 3 Jul 2004 04:13:22 +0000 (04:13 +0000)]
configure.ac: Correctly check for XML tools.  Correctly set

Original commit message from CVS:
* configure.ac:  Correctly check for XML tools.  Correctly set
BUILD_DOCS variable depending on tools.
* docs/Makefile.am:  Use XML variables.

20 years agoback to cvs
Thomas Vander Stichele [Mon, 21 Jun 2004 11:02:48 +0000 (11:02 +0000)]
back to cvs

Original commit message from CVS:
back to cvs

20 years agoreleasing
Thomas Vander Stichele [Mon, 21 Jun 2004 10:19:02 +0000 (10:19 +0000)]
releasing

Original commit message from CVS:
releasing

20 years agorelease
Thomas Vander Stichele [Mon, 21 Jun 2004 10:18:08 +0000 (10:18 +0000)]
release

Original commit message from CVS:
release

20 years agosync with other modules
Thomas Vander Stichele [Mon, 21 Jun 2004 09:52:03 +0000 (09:52 +0000)]
sync with other modules

Original commit message from CVS:
sync with other modules

20 years agoUpdate video player example
Johan Dahlin [Mon, 21 Jun 2004 09:41:22 +0000 (09:41 +0000)]
Update video player example

Original commit message from CVS:
Update video player example

20 years agodistcheck fix
Thomas Vander Stichele [Mon, 21 Jun 2004 09:31:52 +0000 (09:31 +0000)]
distcheck fix

Original commit message from CVS:
distcheck fix

20 years agorecommit
Thomas Vander Stichele [Mon, 21 Jun 2004 09:26:59 +0000 (09:26 +0000)]
recommit

Original commit message from CVS:
recommit

20 years agorecommit
Thomas Vander Stichele [Mon, 21 Jun 2004 09:26:18 +0000 (09:26 +0000)]
recommit

Original commit message from CVS:
recommit

20 years agogst/Makefile.am (EXTRA_DIST): Add ltihooks.py
Johan Dahlin [Mon, 21 Jun 2004 09:18:39 +0000 (09:18 +0000)]
gst/Makefile.am (EXTRA_DIST): Add ltihooks.py

Original commit message from CVS:
* gst/Makefile.am (EXTRA_DIST): Add ltihooks.py

20 years agodistcheck fixes
Thomas Vander Stichele [Mon, 21 Jun 2004 09:15:42 +0000 (09:15 +0000)]
distcheck fixes

Original commit message from CVS:
distcheck fixes

20 years agoChangelog and testsuite
Johan Dahlin [Mon, 21 Jun 2004 08:38:23 +0000 (08:38 +0000)]
Changelog and testsuite

Original commit message from CVS:
Changelog and testsuite

20 years agoAdd some more stuff GstBuffer stuff
Johan Dahlin [Mon, 21 Jun 2004 08:36:08 +0000 (08:36 +0000)]
Add some more stuff GstBuffer stuff

Original commit message from CVS:
Add some more stuff GstBuffer stuff

20 years agoadd test
Thomas Vander Stichele [Thu, 10 Jun 2004 18:14:22 +0000 (18:14 +0000)]
add test

Original commit message from CVS:
add test

20 years agogst/gstbuffer.override (_wrap_gst_buffer_flag_is_set)
Johan Dahlin [Wed, 9 Jun 2004 13:40:27 +0000 (13:40 +0000)]
gst/gstbuffer.override (_wrap_gst_buffer_flag_is_set)

Original commit message from CVS:
* gst/gstbuffer.override (_wrap_gst_buffer_flag_is_set)
(_wrap_gst_buffer_flag_set, _wrap_gst_buffer_flag_unset): Impl.

* testsuite/buffer.py (BufferTest.testBufferFlagIsSet): New test

20 years agotestsuite/interface.py (Availability.testXOverlay): Extend to test method calling...
Johan Dahlin [Mon, 24 May 2004 10:30:05 +0000 (10:30 +0000)]
testsuite/interface.py (Availability.testXOverlay): Extend to test method calling on interfaces

Original commit message from CVS:
* testsuite/interface.py (Availability.testXOverlay): Extend to
test method calling on interfaces

* testsuite/common.py: call pygtk.require first

* gst/gstbin.override (_wrap_gst_bin_get_by_name): Add a
keyword argument recurse and remove
_wrap_gst_bin_get_by_name_recurse_up.

* gst/gst.override (_wrap_gst_element_get_pad_list): Split out bin
functions to ...

* gst/gstbin.override: .. this file

* gst/gst.defs (bin_new): allow NULL for first argument.
(child_state_change): Remove, it's private.

20 years agominor cleanup
Johan Dahlin [Mon, 24 May 2004 10:15:39 +0000 (10:15 +0000)]
minor cleanup

Original commit message from CVS:
minor cleanup

20 years agogst/gst-types.defs (Buffer): Add some fields
Johan Dahlin [Tue, 4 May 2004 14:20:28 +0000 (14:20 +0000)]
gst/gst-types.defs (Buffer): Add some fields

Original commit message from CVS:
* gst/gst-types.defs (Buffer): Add some fields

* gst/gstbuffer.override: Move out from gst.override, add
tp_as_sequence support and reorganize the code

* testsuite/buffer.py (BufferTest): Add new tests

20 years agogst/__init__.py: Remove pygtk import and import gobject directly. It's up the app...
Johan Dahlin [Mon, 3 May 2004 16:51:50 +0000 (16:51 +0000)]
gst/__init__.py: Remove pygtk import and import gobject directly. It's up the app to call pygtk.require and no the li...

Original commit message from CVS:
* gst/__init__.py: Remove pygtk import and import gobject
directly. It's up the app to call pygtk.require and no the
library.

20 years agotestsuite/event.py, testsuite/buffer.py: New tests.
Johan Dahlin [Mon, 3 May 2004 16:17:38 +0000 (16:17 +0000)]
testsuite/event.py, testsuite/buffer.py: New tests.

Original commit message from CVS:
* testsuite/event.py, testsuite/buffer.py: New tests.

* testsuite/common.py (run_silent): New function to enable stderr
even if an exception is raised.

* testsuite/element.py (FakeSinkTest.checkError): Better
state-error checking.

20 years agogst/common.h: Add some parenthesises
Johan Dahlin [Mon, 3 May 2004 11:04:07 +0000 (11:04 +0000)]
gst/common.h: Add some parenthesises

Original commit message from CVS:
* gst/common.h: Add some parenthesises

* gst/play.override: Include common.h

20 years agoconfigure.ac: Use different prefix for the new check of PyGtk so we're not overwritin...
Johan Dahlin [Mon, 3 May 2004 10:56:08 +0000 (10:56 +0000)]
configure.ac: Use different prefix for the new check of PyGtk so we're not overwriting the good PYGTK_CFLAGS

Original commit message from CVS:
* configure.ac: Use different prefix for the new check of PyGtk so
we're not overwriting the good PYGTK_CFLAGS

20 years agoremove redundant AC_SUBST
Johan Dahlin [Mon, 3 May 2004 10:50:32 +0000 (10:50 +0000)]
remove redundant AC_SUBST

Original commit message from CVS:
remove redundant AC_SUBST

20 years agogst/Makefile.am (INCLUDES): Move PYGTK_CFLAGS to common_cflags instead of INCLUDES
Johan Dahlin [Mon, 3 May 2004 10:46:49 +0000 (10:46 +0000)]
gst/Makefile.am (INCLUDES): Move PYGTK_CFLAGS to common_cflags instead of INCLUDES

Original commit message from CVS:
* gst/Makefile.am (INCLUDES): Move PYGTK_CFLAGS to common_cflags
instead of INCLUDES

* configure.ac: define HAVE_OLD_PYGTK if we're on pygtk 2.3.91 or
earlier and disable editor checks

* gst/common.h: Add backwards compatible typedef for python < 2.3
and pygtk < 2.3.92

20 years agoconfigure.ac: define HAVE_OLD_PYGTK if we're on pygtk 2.3.91 or earlier.
Johan Dahlin [Mon, 3 May 2004 10:22:36 +0000 (10:22 +0000)]
configure.ac: define HAVE_OLD_PYGTK if we're on pygtk 2.3.91 or earlier.

Original commit message from CVS:
* configure.ac: define HAVE_OLD_PYGTK if we're on pygtk 2.3.91 or earlier.

* gst/common.h: Add backwards compatible typedef for python < 2.3
and pygtk < 2.3.92

20 years agoForgot to add this
Johan Dahlin [Mon, 3 May 2004 09:14:29 +0000 (09:14 +0000)]
Forgot to add this

Original commit message from CVS:
Forgot to add this

20 years agocodegen/codegen.py: Resync (add support for tp_as_buffer)
Johan Dahlin [Mon, 3 May 2004 09:10:26 +0000 (09:10 +0000)]
codegen/codegen.py: Resync (add support for tp_as_buffer)

Original commit message from CVS:
* codegen/codegen.py: Resync (add support for tp_as_buffer)

* gst/gst.override: Support buffer interface for GstBuffer. Move
stuff into common.h, fix wrapping for
gst_pad_template_get_caps_by_name

20 years agofix spec file + broken links in docs
Stéphane Loeuillet [Sat, 1 May 2004 16:55:37 +0000 (16:55 +0000)]
fix spec file + broken links in docs

Original commit message from CVS:
fix spec file + broken links in docs

20 years agotestsuite/runtests.py (gettestnames): Cleanup
Johan Dahlin [Sat, 1 May 2004 15:35:32 +0000 (15:35 +0000)]
testsuite/runtests.py (gettestnames): Cleanup

Original commit message from CVS:
* testsuite/runtests.py (gettestnames): Cleanup

* testsuite/element.py (FakeSinkTest): Enable again and disable
stderr while changing state to ready
(ElementName.testElementStateGetName): New function to test
gst.element_state_get_name.

* testsuite/common.py (path): Don't import ltihooks and proper
check for gst module. Add --gst-debug-no-color as a global option
(disable_stderr, enable_stderr): New functions to disable stdout
called from non python

20 years agogst/gst.defs (element_state_get_name): Add.
Johan Dahlin [Fri, 30 Apr 2004 15:51:20 +0000 (15:51 +0000)]
gst/gst.defs (element_state_get_name): Add.

Original commit message from CVS:
* gst/gst.defs (element_state_get_name): Add.

20 years agotestsuite/runtests.py (tests): Run all tests in one TestSuite instead of several.
Johan Dahlin [Wed, 21 Apr 2004 09:45:44 +0000 (09:45 +0000)]
testsuite/runtests.py (tests): Run all tests in one TestSuite instead of several.

Original commit message from CVS:
* testsuite/runtests.py (tests): Run all tests in one TestSuite
instead of several.

* testsuite/element.py (FakeSinkTest.setUp): Disable StateError
tests until there is a way to disable element error output.

20 years agoconfigure.ac (PYGTK_CODEGEN): Use built in code generator again and don't require...
Johan Dahlin [Fri, 16 Apr 2004 16:53:29 +0000 (16:53 +0000)]
configure.ac (PYGTK_CODEGEN): Use built in code generator again and don't require 2.3.91, 2.0.0 should do fine (FC1 o...

Original commit message from CVS:
* configure.ac (PYGTK_CODEGEN): Use built in code generator again
and don't require 2.3.91, 2.0.0 should do fine (FC1 ok, RH9 isn't)

* TODO: Update

* gst/interfaces.override, gst/play.override: Add typedef for
python < 2.3

* codegen/codegen.py: Readd :/

20 years agotestsuite/pipeline.py (PipelineConstructor.testGoodConstructor) (PipelineConstructor...
Johan Dahlin [Fri, 16 Apr 2004 13:56:39 +0000 (13:56 +0000)]
testsuite/pipeline.py (PipelineConstructor.testGoodConstructor) (PipelineConstructor.testBadConstruct)

Original commit message from CVS:
* testsuite/pipeline.py (PipelineConstructor.testGoodConstructor)
(PipelineConstructor.testBadConstruct)
(ThreadConstructor.testCreate): New tests

* testsuite/element.py (ElementTest.testGoodConstructor): Add
isinstance(element, gst.Element) test

* testsuite/common.py: Clean up, use ltihooks
(init) Assign tp_new for pipeline and thread to PyType_GenericNew
for now.

20 years agogst/gst.override (_wrap_gst_element_tp_new): New, just pointing to _wrap_gst_element_...
Johan Dahlin [Fri, 16 Apr 2004 11:44:06 +0000 (11:44 +0000)]
gst/gst.override (_wrap_gst_element_tp_new): New, just pointing to _wrap_gst_element_factory_make

Original commit message from CVS:
* gst/gst.override (_wrap_gst_element_tp_new): New, just pointing
to _wrap_gst_element_factory_make
(_wrap_gst_element_tp_new): Stub, return 1  so tp_new can be used.

* gst/gst.defs (element_factory_make): Remove is-constructor-of
GstElement.

* codegen/: Remove and use the codegen from pygtk instead

* configure.ac (ACLOCAL): Require 2.3.91 of PyGTK

20 years agoexamples/gstplay/videoplayer.py: New example, simple video player embedded in a gtk...
Johan Dahlin [Tue, 6 Apr 2004 12:38:18 +0000 (12:38 +0000)]
examples/gstplay/videoplayer.py: New example, simple video player embedded in a gtk+ widget.

Original commit message from CVS:
* examples/gstplay/videoplayer.py: New example, simple video
player embedded in a gtk+ widget.

20 years agogst/Makefile.am (EXTRA_DIST): And make sure we have all defs here.
Johan Dahlin [Wed, 31 Mar 2004 14:37:01 +0000 (14:37 +0000)]
gst/Makefile.am (EXTRA_DIST): And make sure we have all defs here.

Original commit message from CVS:
* gst/Makefile.am (EXTRA_DIST): And make sure we have all defs here.

20 years agogst/ltihooks.py: New file
Johan Dahlin [Wed, 31 Mar 2004 14:00:54 +0000 (14:00 +0000)]
gst/ltihooks.py: New file

Original commit message from CVS:
* gst/ltihooks.py: New file

* gst/__init__.py: try to import ltihooks.py

20 years agogst/Makefile.am: Only install gst-types.defs
Johan Dahlin [Wed, 31 Mar 2004 13:49:24 +0000 (13:49 +0000)]
gst/Makefile.am: Only install gst-types.defs

Original commit message from CVS:
* gst/Makefile.am: Only install gst-types.defs