Commit graph

275 commits

Author SHA1 Message Date
Johan Dahlin
2e23effc15 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
2004-11-23 10:16:58 +00:00
Johan Dahlin
857242d2f1 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.
2004-11-15 12:13:57 +00:00
Johan Dahlin
195af7df00 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.
2004-11-15 11:51:50 +00:00
Johan Dahlin
2d3c19e231 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.
2004-11-04 15:31:11 +00:00
Johan Dahlin
9fcba18fa9 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.
2004-11-04 10:44:28 +00:00
Johan Dahlin
f2abd02516 more build fixes
Original commit message from CVS:
more build fixes
2004-10-11 13:43:26 +00:00
Zaheer Abbas Merali
2425cf1e64 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
2004-10-11 09:45:40 +00:00
Johan Dahlin
1a232d7366 gst/:
Original commit message from CVS:
* gst/arg-types.py:
* gst/gst.defs:
* gst/gst.override:

GstXML support, based on patch by poelzi.
2004-10-11 09:24:15 +00:00
Johan Dahlin
19ba5c793a 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.
2004-10-11 09:01:23 +00:00
Johan Dahlin
a3ff243a42 Add some hackery hackery
Original commit message from CVS:
Add some hackery hackery
2004-10-11 08:56:52 +00:00
Johan Dahlin
a3d89adf3c Define the URIHandler interface here
Original commit message from CVS:
Define the URIHandler interface here
2004-10-11 08:51:28 +00:00
Zaheer Abbas Merali
087bae124f 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
2004-10-10 20:49:27 +00:00
Johan Dahlin
e08b8d1b67 Use pyg_gil_state_*
Original commit message from CVS:
Use pyg_gil_state_*
2004-10-07 10:05:12 +00:00
Johan Dahlin
a1f058c663 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"
2004-10-04 14:58:40 +00:00
Johan Dahlin
25bb8d5012 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.
2004-10-04 10:45:46 +00:00
Thomas Vander Stichele
55a8ec7633 comment
Original commit message from CVS:
comment
2004-09-29 11:37:55 +00:00
Johan Dahlin
f915e8d473 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.
2004-09-29 11:13:21 +00:00
Johan Dahlin
e6a9dec474 fix threading issues here aswell
Original commit message from CVS:
fix threading issues here aswell
2004-09-22 18:01:45 +00:00
Johan Dahlin
009920d062 gst/gst.override: use new threading API
Original commit message from CVS:
* gst/gst.override: use new threading API
2004-09-22 16:34:08 +00:00
Thomas Vander Stichele
828449319c 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
2004-09-13 07:31:31 +00:00
Johan Dahlin
02f72cd028 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
2004-08-30 10:42:36 +00:00
Johan Dahlin
78e7f604ad gst/interfaces.defs (TunerNorm, TunerChannel): Add fields.
Original commit message from CVS:
* gst/interfaces.defs (TunerNorm, TunerChannel): Add fields.
2004-08-12 17:16:33 +00:00
Johan Dahlin
582e7e6624 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.
2004-08-12 17:05:33 +00:00
Johan Dahlin
3412a9bd20 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
2004-08-06 19:19:41 +00:00
Thomas Vander Stichele
f59e0690f6 one item list with structure
Original commit message from CVS:
one item list with structure
2004-08-06 19:03:50 +00:00
Johan Dahlin
4b55e4eafe More testing
Original commit message from CVS:
More testing
2004-08-06 19:03:08 +00:00
Thomas Vander Stichele
04d47f4be2 add constructor for caps
Original commit message from CVS:
add constructor for caps
2004-08-06 18:49:53 +00:00
Johan Dahlin
607bb26a14 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
2004-08-06 18:14:30 +00:00
Johan Dahlin
3f630774bb 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
2004-08-06 14:18:28 +00:00
Johan Dahlin
169626bb24 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.
2004-08-03 17:07:38 +00:00
Thomas Vander Stichele
b18efd0d22 allow no name for thread and pipeline
Original commit message from CVS:
allow no name for thread and pipeline
2004-08-02 17:33:54 +00:00
Johan Dahlin
acefacc62c 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
2004-07-15 10:15:18 +00:00
Johan Dahlin
4e37d3cd9a 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)
2004-07-15 09:48:22 +00:00
Johan Dahlin
e779537e83 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)
2004-07-13 10:08:45 +00:00
Johan Dahlin
9165bf8c35 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
2004-07-13 09:08:32 +00:00
Johan Dahlin
0a37fd1928 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.
2004-07-13 09:00:07 +00:00
Johan Dahlin
0502f9b123 gst/Makefile.am (EXTRA_DIST): Add ltihooks.py
Original commit message from CVS:
* gst/Makefile.am (EXTRA_DIST): Add ltihooks.py
2004-06-21 09:18:39 +00:00
Thomas Vander Stichele
d6fab19809 distcheck fixes
Original commit message from CVS:
distcheck fixes
2004-06-21 09:15:42 +00:00
Johan Dahlin
190edee6fc Add some more stuff GstBuffer stuff
Original commit message from CVS:
Add some more stuff GstBuffer stuff
2004-06-21 08:36:08 +00:00
Johan Dahlin
57b9efc9cf 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
2004-06-09 13:40:27 +00:00
Johan Dahlin
c0d4251e20 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.
2004-05-24 10:30:05 +00:00
Johan Dahlin
45c2cf641d 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
2004-05-04 14:20:28 +00:00
Johan Dahlin
a2d17fd974 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.
2004-05-03 16:51:50 +00:00
Johan Dahlin
ed9136fd26 gst/common.h: Add some parenthesises
Original commit message from CVS:
* gst/common.h: Add some parenthesises

* gst/play.override: Include common.h
2004-05-03 11:04:07 +00:00
Johan Dahlin
46bad57088 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
2004-05-03 10:46:49 +00:00
Johan Dahlin
338d44b674 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
2004-05-03 10:22:36 +00:00
Johan Dahlin
1737a9736c Forgot to add this
Original commit message from CVS:
Forgot to add this
2004-05-03 09:14:29 +00:00
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
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
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
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
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
Thomas Vander Stichele
e90bbb0669 fix automake
Original commit message from CVS:
fix automake
2004-03-18 17:07:12 +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
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
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
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
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
6e85edcd38 Cleanup, add versioning
Original commit message from CVS:
Cleanup, add versioning
2004-03-08 13:51:02 +00:00
Thomas Vander Stichele
e84077e4b2 fix make distcheck mv examples/gstreamer examples/gst
Original commit message from CVS:
fix make distcheck
mv examples/gstreamer examples/gst
2004-03-04 12:00:06 +00:00
Thomas Vander Stichele
b86c702816 make gstreamer python work uninstalled again
Original commit message from CVS:
make gstreamer python work uninstalled again
2004-03-04 11:32:46 +00:00
Johan Dahlin
212df27212 gstreamer/: All over the place, more rename work (gstreamer -> gst)
Original commit message from CVS:
* gstreamer/: All over the place, more rename work (gstreamer -> gst)
2004-02-27 18:32:20 +00:00
Johan Dahlin
a37dede09c examples/gstreamer/filesrc.py,player.py: New examples
Original commit message from CVS:
* examples/gstreamer/filesrc.py,player.py: New examples

* gstreamer/gstreamer.override: Add a dict like interface to GstTagList

* gstreamer/gstpad-handlers.override: New file, split out from gstreamer.override

* gstreamer/gst-types.defs: Don't use
gst_buffer_free/gst_data_free, use gst_data_unref instead.

* gstreamer/gst-types.c (PyGstData_to_value): Don't send address here.

* gstreamer/arg-types.py (GstDataPtrArg.write_param): Send the
address to stuff, since we really want to avoid segfaults :)

* gstreamer/0.6.[c,defs,h,override]: Remove, we're focusing on 0.7

* gstreamer/0.7.[c,defs,h,override]: Remove, merge with
gstreamer.*

* gstreamer/Makefile.am: Clean up, remove versioning support.
2004-02-27 18:01:52 +00:00
Johan Dahlin
b27c464e5e gstreamer/: Rename some more things to gst
Original commit message from CVS:
* gstreamer/gstreamer.override:
* gstreamer/gstreamermodule.c: Rename some more things to gst

* gstreamer/arg-types.py: Clean up and add GstData handling

* gstreamer/gstreamer.defs:
* gstreamer/gst-types.defs: Split out types to a separate defs

* gstreamer/gst-types.c: New file to handle custom GstData conversions.
2004-02-25 12:12:58 +00:00
David I. Lehn
5b2f393d43 gstreamer/: GstStructure and GstTagList foreach() support.
Original commit message from CVS:
* gstreamer/0.7.override:
* gstreamer/common.h:
GstStructure and GstTagList foreach() support.
* examples/gstplay/player.py:
Use TagList.foreach() to print tags.
2004-02-24 18:52:30 +00:00
David I. Lehn
f44fd3f602 gstreamer/common.override: Attempt to handle GstBuffer vs GstData better
Original commit message from CVS:
* gstreamer/common.override:
Attempt to handle GstBuffer vs GstData better
2004-02-24 18:47:32 +00:00
Johan Dahlin
ad4e6fd770 gstreamer/gstreamer.defs: rename all functions, remove gst_ suffix.
Original commit message from CVS:
* gstreamer/gstreamer.defs: rename all functions, remove
gst_ suffix.
* gstreamer/examples/gstreamer/*.py: Update to new API.
2004-02-24 18:40:21 +00:00
Johan Dahlin
d178fff215 gstreamer/gstreamer.defs (element_link_many): This is function and not a method, despite popular belief
Original commit message from CVS:
* gstreamer/gstreamer.defs (element_link_many): This is function
and not a method, despite popular belief
(gst_element_factory_make): Make it the constructor of GstElement,
so we can avoid dirty hacks.

* gstreamer/gstreamer.override (_wrap_gst_element_link_many): Wrap
(_wrap_gst_element_link_many): Wrap

* gstreamer/common.defs:
* gstreamer/common.override:
* gstreamer/Makefile.am: Beginning of reorganization, to include
gstreamer.defs and override (eg, not auto generate them)

* examples/gstreamer/cp.py: Prettify and pythonify. Will do the
other examples later

* gstreamer/gstreamer.py: Backwards compatibility module

* gstreamer/gstreamermodule.c:
* gstreamer/Makefile.am: Rename the module to gst
2004-02-23 20:24:53 +00:00
Johan Dahlin
ade405ce0f gstreamer/gstreamer.py: Backwards compatibility module
Original commit message from CVS:
2004-02-23  Johan Dahlin  <johan@gnome.org>

* gstreamer/gstreamer.py: Backwards compatibility module

* gstreamer/gstreamermodule.c:
* gstreamer/Makefile.am: Rename the module to gst
2004-02-23 18:19:38 +00:00
David I. Lehn
eb8a787e53 gstreamer/0.7.defs: Wrap GstTagList.
Original commit message from CVS:
* gstreamer/0.7.defs:
Wrap GstTagList.
2004-02-18 19:42:55 +00:00
Thomas Vander Stichele
ef85c7d742 ignore files
Original commit message from CVS:
ignore files
2004-02-05 11:07:02 +00:00
Thomas Vander Stichele
803cec5dc6 adding cvsignore files
Original commit message from CVS:
adding cvsignore files
2004-02-05 11:06:26 +00:00
David I. Lehn
c71d66dbde gst/: Support GstPlay, bug fixes, updates.
Original commit message from CVS:
* gstinterfaces/.cvsignore:
* gstinterfaces/0.7.defs:
* gstinterfaces/Makefile.am:
* gstinterfaces/common.defs:
* gstinterfaces/common.override:
* gstinterfaces/gstinterfacesmodule.c: (init_gstinterfaces):
* gstplay/.cvsignore:
* gstplay/0.7.c:
* gstplay/0.7.defs:
* gstplay/0.7.h:
* gstplay/0.7.override:
* gstplay/Makefile.am:
* gstplay/__init__.py:
* gstplay/arg-types.py:
* gstplay/common.c:
* gstplay/common.h:
* gstplay/common.override:
* gstplay/gstplaymodule.c: (init_gstplay):
* gstreamer/Makefile.am:
* gstreamer/__init__.py:
* gstreamer/common.override:
Support GstPlay, bug fixes, updates.
* examples/gstplay/player.py:
GstPlay example.
* Makefile.am:
Support GstPlay build.
* configure.ac:
Support GstPlay build, remove AC_SUBST() calls that
PKG_CHECK_MODULES does automagically.
2004-02-03 09:45:42 +00:00
David I. Lehn
11e199b27c Makefile.am: add gstinterfaces dir
Original commit message from CVS:
* Makefile.am: add gstinterfaces dir
* configure.ac: get interfaces include dirs
* gstreamer/.cvsignore: add .py[co]
* gstreamer/0.6.defs:
* gstreamer/0.6.override:
* gstreamer/0.7.defs:
* gstreamer/0.7.override:
* gstreamer/common.defs:
* gstreamer/common.override: rearrange code for both 0.6 and 0.7
support
* gstreamer/Makefile.am: add -fno-strict-aliasing due to python
issues
* gstinterfaces/.cvsignore:
* gstinterfaces/0.7.c:
* gstinterfaces/0.7.defs:
* gstinterfaces/0.7.h:
* gstinterfaces/0.7.override:
* gstinterfaces/Makefile.am:
* gstinterfaces/__init__.py:
* gstinterfaces/arg-types.py:
* gstinterfaces/common.c:
* gstinterfaces/common.defs:
* gstinterfaces/common.h:
* gstinterfaces/common.override:
* gstinterfaces/gstinterfacesmodule.c: messy start of interfaces
handling
2004-01-27 05:51:53 +00:00
David I. Lehn
cf8c160f13 Patch from Bug#128736. gstreamer/common.override
Original commit message from CVS:
Patch from Bug#128736.

2003-12-07  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

* gstreamer/common.override
(_wrap_gst_element_factory_make_element): Make name argument
optional.
2003-12-31 07:16:40 +00:00
David I. Lehn
171bc6bfa9 Mass change to support compiling for both 0.6 and 0.7. Common support is now in common.{defs,override,c,h}. Specifi...
Original commit message from CVS:
Mass change to support compiling for both 0.6 and 0.7.  Common support is now
in common.{defs,override,c,h}.  Specific version support is in
{0.6,0.7}.{defs,override,c,h}.  The common and version specific files are
merged and/or used as needed.

common.override: add gst_version
2003-10-10 04:21:21 +00:00
David I. Lehn
8365513469 fix libtool 1.5 build by fixing export symbol typo s/initgstreamer/init_gstreamer/
Original commit message from CVS:
fix libtool 1.5 build by fixing export symbol typo
s/initgstreamer/init_gstreamer/
2003-10-09 20:01:30 +00:00
Thomas Vander Stichele
b77038b9f2 app.py --help works, whee !
Original commit message from CVS:
app.py --help works, whee !
2003-10-04 22:49:37 +00:00
Thomas Vander Stichele
7a7a6d1ca9 create an Element constructor
Original commit message from CVS:
create an Element constructor
2003-10-04 13:18:56 +00:00
Thomas Vander Stichele
aadd62a79d remove prints fix more 64 bit ints
Original commit message from CVS:
remove prints
fix more 64 bit ints
2003-09-27 16:07:02 +00:00
Thomas Vander Stichele
9a4cde007b fix return type of pad query
Original commit message from CVS:
fix return type of pad query
2003-09-27 14:18:36 +00:00
David I. Lehn
4a0640885d fix up line continuations
Original commit message from CVS:
fix up line continuations
2003-06-26 03:40:06 +00:00
Thomas Vander Stichele
7a17f8aae8 fix a compile warning
Original commit message from CVS:
fix a compile warning
2003-05-06 21:47:28 +00:00
David I. Lehn
b72cfe8ab3 make distcheck fixification
Original commit message from CVS:
make distcheck fixification
2003-02-08 16:08:03 +00:00
David I. Lehn
ef734d9a0a - add wrapper for gst_props_entry_gst_list() and method gst_list() to GstProps to access properties list
Original commit message from CVS:
- add wrapper for gst_props_entry_gst_list() and method gst_list() to GstProps
to access properties list
- add alias for gst_props_entry_get_type as _get_props_type() since _get_type()
is recognized as a GObject type function
2003-02-06 21:56:43 +00:00
David I. Lehn
9aa46e059e add gstreamer.defs to CLEANFILES
Original commit message from CVS:
add gstreamer.defs to CLEANFILES
2003-02-06 21:47:19 +00:00
David I. Lehn
5b2442792a - id add_iterate_bin(bin)
Original commit message from CVS:
add functions for optimized bin iteration (may move or rename):
- id add_iterate_bin(bin)
- remove_iterate_bin(id)
- iterate_bin_all(bin)
2003-02-05 15:53:58 +00:00
David I. Lehn
0a5f74f873 update to new GstPad/GstElement link API and remove old hacks to call GObject connect method
Original commit message from CVS:
update to new GstPad/GstElement link API and remove old hacks to call GObject
connect method
2003-01-10 00:18:33 +00:00
David I. Lehn
f85f7a3952 ignore gstcompat.h
Original commit message from CVS:
ignore gstcompat.h
2003-01-10 00:17:32 +00:00
David I. Lehn
166d345b1f add GstPropsEntry and wrappers for most of get_* methods
Original commit message from CVS:
add GstPropsEntry and wrappers for most of get_* methods
2003-01-04 18:43:10 +00:00
David I. Lehn
2ad1bbe34c add GstClockID as a pointer arg type (not too useful, really need to make it a boxed type)
Original commit message from CVS:
add GstClockID as a pointer arg type (not too useful, really need to make it a boxed type)
2003-01-04 18:42:29 +00:00
David I. Lehn
3075e00bfa add pad and element query and convert methods
Original commit message from CVS:
add pad and element query and convert methods
2003-01-02 09:08:36 +00:00
David I. Lehn
b8ec40b07c add threads_init() function
Original commit message from CVS:
add threads_init() function
2003-01-02 09:07:31 +00:00
David I. Lehn
af584323bf exclude gstatomic_impl.h from headers used to create defs
Original commit message from CVS:
exclude gstatomic_impl.h from headers used to create defs
2003-01-01 00:19:52 +00:00
David I. Lehn
0b94dd64f0 thread block/unblock in callback functions indentation update
Original commit message from CVS:
thread block/unblock in callback functions
indentation update
2002-12-21 23:46:29 +00:00
David I. Lehn
b807857c46 email addr update
Original commit message from CVS:
email addr update
2002-12-17 17:40:42 +00:00
David I. Lehn
f33a05d101 add wrapper for gst_element_set_state to unlock GIT
Original commit message from CVS:
add wrapper for gst_element_set_state to unlock GIT
2002-12-17 17:37:27 +00:00
David I. Lehn
6b99320437 add "import pygtk; pygtk.require('2.0')" to force the proper version of pygtk
Original commit message from CVS:
add "import pygtk; pygtk.require('2.0')" to force the proper version of pygtk
2002-11-07 07:31:06 +00:00
David I. Lehn
a8e88c224d override gst_bin_iterate() to unblock threads since this call can cause exacution to re-enter the interpreter.
Original commit message from CVS:
override gst_bin_iterate() to unblock threads since this call can cause
exacution to re-enter the interpreter.
2002-11-07 07:09:19 +00:00
David I. Lehn
079d41c4ac add temporary hack to fix 0.4.1 s/gst/get/ typo in GST_TYPE_CAPS/PROPS()
Original commit message from CVS:
add temporary hack to fix 0.4.1 s/gst/get/ typo in GST_TYPE_CAPS/PROPS()
2002-10-04 21:29:19 +00:00
David I. Lehn
a8a9c7e9d5 add boxed types adapt to boxed types remove obsoleted code
Original commit message from CVS:
add boxed types
adapt to boxed types
remove obsoleted code
2002-10-04 05:40:37 +00:00
David I. Lehn
c6737f6a93 support a couple more types
Original commit message from CVS:
support a couple more types
2002-10-04 05:39:24 +00:00
David I. Lehn
88f16dfe8f ignore generated files
Original commit message from CVS:
ignore generated files
2002-10-04 05:37:24 +00:00
David I. Lehn
7cae4e5629 various updates to work with cvs code
Original commit message from CVS:
various updates to work with cvs code
2002-06-17 02:01:54 +00:00
David I. Lehn
18bba4b6ce create defs from h2defs.py output and local hacks
Original commit message from CVS:
create defs from h2defs.py output and local hacks
2002-05-10 03:59:33 +00:00
David I. Lehn
cb96d5a69f info categories function not picked up automagically for some reason.
Original commit message from CVS:
info categories function not picked up automagically for some reason.
add it.
2002-04-15 23:49:11 +00:00
David I. Lehn
0b4078eae0 use proper dl module flags
Original commit message from CVS:
use proper dl module flags
2002-04-15 23:48:22 +00:00
David I. Lehn
5553eff125 Update to 0.3.4 API plus bonus feature: code no longer works
Original commit message from CVS:
Update to 0.3.4 API plus bonus feature: code no longer works
2002-04-15 17:14:31 +00:00
David I. Lehn
0d60c9d38a The "yes, you can write chain based elements in Python" commit.
Original commit message from CVS:
The "yes, you can write chain based elements in Python" commit.
AKA The "oh my, that is a slow rot13" commit.
AKA The "puddle from a stream of leaking bits" commit.
2002-03-27 11:09:40 +00:00
David I. Lehn
fac6f91e8d add license headers
Original commit message from CVS:
add license headers
2002-03-24 11:41:24 +00:00
David I. Lehn
65e6677541 strip GST_ off consts
Original commit message from CVS:
strip GST_ off consts
2002-03-24 07:58:03 +00:00
David I. Lehn
be74250a11 add libtool uninstalled lib paths - yuck
Original commit message from CVS:
add libtool uninstalled lib paths - yuck
2002-03-24 07:57:00 +00:00
David I. Lehn
4fb934cf51 ignore *.pyc
Original commit message from CVS:
ignore *.pyc
2002-03-24 04:33:42 +00:00
David I. Lehn
564e342e89 initial python bindings
Original commit message from CVS:
initial python bindings
2002-03-24 04:32:10 +00:00