Commit graph

48 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
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
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
06761336fe minor cleanup
Original commit message from CVS:
minor cleanup
2004-05-24 10:15:39 +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
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
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
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
David I. Lehn
dae8809ed5 use new gst_element_connect() api.
Original commit message from CVS:
use new gst_element_connect() api.
looks more fragile than being explicit via _connect_pads()
2002-04-15 23:51:21 +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
6cc4981af1 port of lat.c (work in progress)
Original commit message from CVS:
port of lat.c (work in progress)
2002-03-27 11:16:00 +00:00
David I. Lehn
66302e9e82 Py vs C - identity latency and speed check.
Original commit message from CVS:
Py vs C - identity latency and speed check.
The "you know something is wrong when Python is 2x as fast as C" commit.
2002-03-27 11:14:04 +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
760f9482c3 port dvd player example from C not yet working
Original commit message from CVS:
port dvd player example from C
not yet working
2002-03-24 11:40:06 +00:00
David I. Lehn
caa386262f add examples
Original commit message from CVS:
add examples
2002-03-24 07:52:32 +00:00
David I. Lehn
26a76f6af0 Some example apps
Original commit message from CVS:
Some example apps
2002-03-24 07:49:36 +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