Commit graph

60 commits

Author SHA1 Message Date
Edward Hervey
c68afb5f53 Backport from 0.8 branch and added new .defs file from GStreamer 0.9
Original commit message from CVS:
Backport from 0.8 branch and added new .defs file from GStreamer 0.9
2005-06-17 10:59:47 +00:00
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
65e693c8a9 Use expose instead of after_realize_cb+idle_add
Original commit message from CVS:
Use expose instead of after_realize_cb+idle_add
2004-11-09 12:10:34 +00:00
Thomas Vander Stichele
85e78b96f3 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
2004-11-05 17:39:52 +00:00
Johan Dahlin
7b9a2b671d Add the makefile too, bla bla bla
Original commit message from CVS:
Add the makefile too, bla bla bla
2004-11-05 17:39:48 +00:00
Thomas Vander Stichele
18cf29a4d4 make autogen build work
Original commit message from CVS:
make autogen build work
2004-11-05 17:35:05 +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
Thomas Vander Stichele
4edc8ef05f no idea who broke this
Original commit message from CVS:
no idea who broke this
2004-10-17 17:02:25 +00:00
Johan Dahlin
f16c91e135 Add examples
Original commit message from CVS:
Add examples
2004-10-11 17:48:37 +00:00
Johan Dahlin
f2abd02516 more build fixes
Original commit message from CVS:
more build fixes
2004-10-11 13:43:26 +00:00
Johan Dahlin
f4b79ff002 and the gstplay examples
Original commit message from CVS:
and the gstplay examples
2004-10-11 10:17:28 +00:00
Johan Dahlin
58b2da766e 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
2004-10-11 09:55:44 +00:00
Thomas Vander Stichele
a40a538c90 v4l example in progress
Original commit message from CVS:
v4l example in progress
2004-08-12 16:07:07 +00:00
Thomas Vander Stichele
b447845b29 some fixes, not all
Original commit message from CVS:
some fixes, not all
2004-08-12 15:00:17 +00:00
Johan Dahlin
e888101baf Update video player example
Original commit message from CVS:
Update video player example
2004-06-21 09:41:22 +00:00
Johan Dahlin
06761336fe minor cleanup
Original commit message from CVS:
minor cleanup
2004-05-24 10:15:39 +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
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
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
Johan Dahlin
cc23405805 More generalized tagging
Original commit message from CVS:
More generalized tagging
2004-03-08 14:32:14 +00:00
Thomas Vander Stichele
c93b5c139c moving
Original commit message from CVS:
moving
2004-03-04 12:01:23 +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
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
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
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
6032476a06 add annoying version check for 0.6 API
Original commit message from CVS:
add annoying version check for 0.6 API
2003-10-10 04:22:27 +00:00
David I. Lehn
26c22b53d6 4 space indents
Original commit message from CVS:
4 space indents
2003-10-10 03:48:18 +00:00
Thomas Vander Stichele
6cd99af3e2 Pipeline, Thread, Bin generate RuntimeError exceptions
Original commit message from CVS:
Pipeline, Thread, Bin generate RuntimeError exceptions
2003-10-05 09:14:10 +00:00
Thomas Vander Stichele
d13b976ed2 make examples use Element
Original commit message from CVS:
make examples use Element
2003-10-04 23:02:48 +00:00
David I. Lehn
802223084c add bps, rename oggplay->vorbisplay
Original commit message from CVS:
add bps, rename oggplay->vorbisplay
2003-02-06 21:51:32 +00:00
David I. Lehn
51680f933b rename to vorbisplay.py print out meta/stream info
Original commit message from CVS:
rename to vorbisplay.py
print out meta/stream info
2003-02-06 21:49:00 +00:00
David I. Lehn
44e1552d31 format output a bit more
Original commit message from CVS:
format output a bit more
2003-02-05 15:57:21 +00:00
David I. Lehn
9a3256eeb1 added buffers-per-second test
Original commit message from CVS:
added buffers-per-second test
2003-02-05 15:52:25 +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
a5caf02be1 I'm too lazy to comment this
Original commit message from CVS:
s/vorbisdec/vorbisfile/ (Thanks to Kenichi Sato <ksato@users.sourceforge.net>)
2003-01-01 00:20:46 +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
6c247e7e1f updated to maybe work with threads
Original commit message from CVS:
updated to maybe work with threads
2002-11-07 07:32:19 +00:00
David I. Lehn
395e3a265d update to new api
Original commit message from CVS:
update to new api
2002-10-04 05:35:59 +00:00
David I. Lehn
5dc00dc590 trying to improve timing accuracy to figure out why python identity is 3x faster than the C one...
Original commit message from CVS:
trying to improve timing accuracy to figure out why python identity
is 3x faster than the C one...
2002-10-03 22:38:07 +00:00
David I. Lehn
992ec05aaf use "python" vs "python2.2" update for newer bindings and api
Original commit message from CVS:
use "python" vs "python2.2"
update for newer bindings and api
2002-10-03 22:11:37 +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
eeb676888a fix state changes use sdlvideosink (videosink segfaulting)
Original commit message from CVS:
fix state changes
use sdlvideosink (videosink segfaulting)
2002-05-10 05:41:51 +00:00