Commit graph

165 commits

Author SHA1 Message Date
Johan Dahlin
f63c95390b 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
2004-05-03 09:10:26 +00:00
Stéphane Loeuillet
3eae754e99 fix spec file + broken links in docs
Original commit message from CVS:
fix spec file + broken links in docs
2004-05-01 16:55:37 +00:00
Johan Dahlin
290df83671 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
2004-05-01 15:35:32 +00:00
Johan Dahlin
ca3eb4296c gst/gst.defs (element_state_get_name): Add.
Original commit message from CVS:
* gst/gst.defs (element_state_get_name): Add.
2004-04-30 15:51:20 +00:00
Johan Dahlin
a2040bb005 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.
2004-04-21 09:45:44 +00:00
Johan Dahlin
90579783ce 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 :/
2004-04-16 16:53:29 +00:00
Johan Dahlin
f203f4826c 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.
2004-04-16 13:56:39 +00:00
Johan Dahlin
9e4049710c 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
2004-04-16 11:44:06 +00:00
Johan Dahlin
f9f774660b 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.
2004-04-06 12:38:18 +00:00
Johan Dahlin
e58c46e159 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.
2004-03-31 14:37:01 +00:00
Johan Dahlin
d83d73b365 gst/ltihooks.py: New file
Original commit message from CVS:
* gst/ltihooks.py: New file

* gst/__init__.py: try to import ltihooks.py
2004-03-31 14:00:54 +00:00
Johan Dahlin
e51ffb9d06 gst/Makefile.am: Only install gst-types.defs
Original commit message from CVS:
* gst/Makefile.am: Only install gst-types.defs
2004-03-31 13:49:24 +00:00
Johan Dahlin
e336cbc2bc Makefile.am (EXTRA_DIST): Add codegen/* Can't believe distcheck passed
Original commit message from CVS:
* Makefile.am (EXTRA_DIST): Add codegen/* Can't believe distcheck passed
2004-03-31 11:14:31 +00:00
Johan Dahlin
a189e7986b Update
Original commit message from CVS:
Update
2004-03-30 11:09:43 +00:00
Johan Dahlin
4a24e19c16 Put it in a thread and run it in a mainloop
Original commit message from CVS:
Put it in a thread and run it in a mainloop
2004-03-29 10:34:17 +00:00
Johan Dahlin
5811dfc3a6 With caps, suitable for CD burning
Original commit message from CVS:
With caps, suitable for CD burning
2004-03-29 10:27:27 +00:00
Johan Dahlin
4cee56e76c Prettify
Original commit message from CVS:
Prettify
2004-03-29 10:21:15 +00:00
Johan Dahlin
6ef3a7273a examples/gst/wavenc.py: New example
Original commit message from CVS:
* examples/gst/wavenc.py: New example

* Makefile.am (EXTRA_DIST): Add wavenc.py
2004-03-29 10:20:02 +00:00
Johan Dahlin
15f1eb48cf gst/gstmodule.c (init_gst): Add constants for GST_*SECOND.
Original commit message from CVS:
* gst/gstmodule.c (init_gst): Add constants for GST_*SECOND.
(python_do_pending_calls): New idler handler, similar to pygtk, so
python events (eg KeyboardInterrupt) can be raised during mainloop

* gst/gst.override (_wrap_gst_bin_get_list):
(_wrap_gst_pad_tp_repr, caps_length, caps_item)
(structure_length, structure_subscript)
(_wrap_gst_structure_tp_repr): Impl.
(_wrap_gst_main): Override with threading blocking.

* gst/gst-types.defs (Object): add flags field.
(Structure): Add copy/release funcs

* gst/__init__.py (devloc): Don't initialize threads

* gst/Makefile.am: clean up

* examples/gst/player.py: Prettify and simplify. Uses GstThread now.

* examples/gstplay/player.py: Update to new api and make it work.
2004-03-24 10:31:35 +00:00
Johan Dahlin
b39ba9ed25 and for gst_play
Original commit message from CVS:
and for gst_play
2004-03-18 18:08:35 +00:00
Johan Dahlin
e3d1e2f3c7 configure.ac: s/GST_*_INCLUDES/GST_*_LIBS/
Original commit message from CVS:
* configure.ac: s/GST_*_INCLUDES/GST_*_LIBS/
2004-03-18 18:00:22 +00:00
Thomas Vander Stichele
e90bbb0669 fix automake
Original commit message from CVS:
fix automake
2004-03-18 17:07:12 +00:00
Thomas Vander Stichele
1fa929dc79 updates for new API
Original commit message from CVS:
updates for new API
2004-03-18 15:51:54 +00:00
Thomas Vander Stichele
afb7288015 disable docs checking until they pass make check properly during make distcheck
Original commit message from CVS:
disable docs checking until they pass make check properly during make distcheck
2004-03-18 15:44:52 +00:00
Johan Dahlin
fba1f21b1d testsuite/Makefile.am (check-local): distcheck fixes
Original commit message from CVS:
* testsuite/Makefile.am (check-local): distcheck fixes

* testsuite/common.py: Put in a couple of hacks to make distcheck
pass make check

* testsuite/interface.py: New test
2004-03-17 12:41:08 +00:00
Johan Dahlin
339261e4e2 gst/gst.defs: Remove unused functions.
Original commit message from CVS:
* gst/gst.defs: Remove unused functions.

* gst/gst.override: Ditto

* gst/__init__.py (devloc): delete dl
2004-03-17 12:27:20 +00:00
Johan Dahlin
40350b8931 Makefile.am (DIST_SUBDIRS): Remove PLAYDIR
Original commit message from CVS:
* Makefile.am (DIST_SUBDIRS): Remove PLAYDIR
2004-03-17 10:15:12 +00:00
Johan Dahlin
444ae8dc6d configure.ac: Support build without gstplay and gstinterfaces
Original commit message from CVS:
* configure.ac: Support build without gstplay and gstinterfaces
2004-03-16 18:57:10 +00:00
Johan Dahlin
31d29bd63a gst/Makefile.am: Move the gstplay bindings over here
Original commit message from CVS:
* gst/Makefile.am: Move the gstplay bindings over here

* Makefile.am, configure.ac: Remove examples/ and put them in
EXTRA_DIST here
2004-03-16 18:42:00 +00:00
Johan Dahlin
7721fb4275 gst/gst.defs (element_make_from_uri): Remove const from enum here, should be fixed upstream too.
Original commit message from CVS:
* gst/gst.defs (element_make_from_uri): Remove const from enum
here, should be fixed upstream too.

* gst/gst.override (_wrap_gst_bin_remove_many)
(_wrap_gst_element_unlink_many): Impl.
(_wrap_gst_element_get_pad_list): Impl.
: Add a number of new ignores for functions/methods we won't wrap anyway
2004-03-16 17:57:18 +00:00
Johan Dahlin
5e7dffcf4d gst/*: Move interfaces over here, make it build, remove gstreamer.py
Original commit message from CVS:
* gst/*: Move interfaces over here, make it build, remove gstreamer.py
2004-03-15 14:25:10 +00:00
Johan Dahlin
5786a76dea Forgot, 2.0.0->1.99.4
Original commit message from CVS:
Forgot, 2.0.0->1.99.4
2004-03-12 16:18:18 +00:00
Johan Dahlin
2d90fb9bef s/LDFLAGS/LIBS
Original commit message from CVS:
s/LDFLAGS/LIBS
2004-03-12 16:13:09 +00:00
Johan Dahlin
92a9e8c192 configure.ac: AC_SUBST GStreamer and PyGTK flags
Original commit message from CVS:
* configure.ac: PyGtk 1.99.14 should be okay (Shipped with RH9),
AC_SUBST GStreamer and PyGTK flags
2004-03-12 16:08:48 +00:00
Johan Dahlin
248280f8f0 Remove gst.defs from here
Original commit message from CVS:
Remove gst.defs from here
2004-03-12 10:31:44 +00:00
Johan Dahlin
3c72b1fef6 Makefile.am (PLAYDIR): Disable for now
Original commit message from CVS:
* Makefile.am (PLAYDIR): Disable for now

* configure.ac: Build against 0.8
2004-03-12 10:12:08 +00:00
Johan Dahlin
88f7dd3c95 gstinterfaces/Makefile.am: clean up a little bit
Original commit message from CVS:
* gstinterfaces/Makefile.am: clean up a little bit

* gstinterfaces/__init__.py (devloc): s/gstreamer/gst/

* codegen: Resync and appy my interface constructor patch
2004-03-12 09:58:54 +00:00
Johan Dahlin
4c254ffe3f gst/gst.override (_wrap_gst_g_error_tp_str)
Original commit message from CVS:
* gst/gst.override (_wrap_gst_g_error_tp_str)
(_wrap_gst_g_error_tp_str): Impl.

* gst/gst-types.defs (GError): Add

* gst/Makefile.am (defs_DATA): Install defs

* codegen/*: Resync
2004-03-09 14:54:57 +00:00
Johan Dahlin
9305a25204 Hide output, add pipeline.py
Original commit message from CVS:
Hide output, add pipeline.py
2004-03-09 14:48:03 +00:00
Thomas Vander Stichele
aae50b3dcf use found PYTHON
Original commit message from CVS:
use found PYTHON
2004-03-09 14:40:32 +00:00
Johan Dahlin
8a810ece62 Add some tests
Original commit message from CVS:
Add some tests
2004-03-08 19:22:15 +00:00
Johan Dahlin
da7eb714c3 I give up, use the same mechanism as in PyGTK, if this is not working, then the slave is broken
Original commit message from CVS:
I give up, use the same mechanism as in PyGTK, if this is not working, then the slave is broken
2004-03-08 18:56:08 +00:00
Johan Dahlin
bc79e3988d third time...
Original commit message from CVS:
third time...
2004-03-08 18:49:21 +00:00
Johan Dahlin
d434acf0c2 another try
Original commit message from CVS:
another try
2004-03-08 18:47:02 +00:00
Johan Dahlin
c3d74c545b Unbreak build
Original commit message from CVS:
Unbreak build
2004-03-08 18:45:11 +00:00
Johan Dahlin
cc23405805 More generalized tagging
Original commit message from CVS:
More generalized tagging
2004-03-08 14:32:14 +00:00
Johan Dahlin
6e85edcd38 Cleanup, add versioning
Original commit message from CVS:
Cleanup, add versioning
2004-03-08 13:51:02 +00:00
Johan Dahlin
e1aed306f9 testsuite/element.py: Update to new api
Original commit message from CVS:
* testsuite/element.py: Update to new api
2004-03-05 10:52:56 +00:00
Johan Dahlin
a8ef403515 codegen/*: Copy PyGTK code generator here, to avoid depending on latest version.
Original commit message from CVS:
* codegen/*: Copy PyGTK code generator here, to avoid depending on
latest version.

* configure.ac: Add versioning, ala pygtk, and use the internal
code generator instead of the installed one
2004-03-05 10:46:24 +00:00
Thomas Vander Stichele
c93b5c139c moving
Original commit message from CVS:
moving
2004-03-04 12:01:23 +00:00