Commit graph

102 commits

Author SHA1 Message Date
Edward Hervey
54686622a1 examples/vumeter.py: In fact it wasn't an application message, but an element message :)
Original commit message from CVS:
* examples/vumeter.py:
In fact it wasn't an application message, but an element message :)
2006-02-20 18:07:59 +00:00
Zaheer Abbas Merali
a73fac4769 fix vumeter example
Original commit message from CVS:
fix vumeter example
2006-02-20 16:58:14 +00:00
Andy Wingo
e8df8fe73c gst/gst.defs (disable_sync_message_emission)
Original commit message from CVS:
2006-02-10  Andy Wingo  <wingo@pobox.com>

* gst/gst.defs (disable_sync_message_emission)
(enable_sync_message_emission): Wrap new functions from GStreamer
CVS.

* configure.ac (GST_REQ): Require GStreamer 0.10.3.1.

* examples/play.py: A bit of refactoring. Make use of the
sync-message signals. Reacts to events on the bus. Keeps aspect
ratio. Better scrubbing, play/pause button instead of
play+pause+stop. Not a bad player now, although the code still
lacks cleanliness.
2006-02-10 17:49:47 +00:00
Andy Wingo
44a2c63fc6 examples/play.py (GstPlayer.query_position)
Original commit message from CVS:
2006-02-10  Andy Wingo  <wingo@pobox.com>

* examples/play.py (GstPlayer.query_position)
(PlayerWindow.update_scale_cb): Only return position, duration
from query_position -- fixes a bugaboo.
(main): Add some input validation.

* examples/pipeline-tester (data): Add a pipeline to test software
scaling.
2006-02-10 10:53:22 +00:00
Edward Hervey
1e233d42c1 examples/gstfile.py: Moved the Discoverer class to gst.extend
Original commit message from CVS:
* examples/gstfile.py:
Moved the Discoverer class to gst.extend
Now works asynchronous... bl**dy fast :)
* gst/extend/Makefile.am:
* gst/extend/discoverer.py:
Discoverer has landed in extend and is now asynchronous.
It emits a 'discovered' signal when it has finished.
2005-12-12 15:15:28 +00:00
Edward Hervey
f5f90c4be7 examples/gstfile.py: Fix for fractional framerates.
Original commit message from CVS:
* examples/gstfile.py: (Discoverer._new_decoded_pad_cb):
Fix for fractional framerates.
2005-12-05 12:01:32 +00:00
Thomas Vander Stichele
5d781f908f releasing 0.9.7
Original commit message from CVS:
releasing 0.9.7
2005-12-01 19:15:26 +00:00
Thomas Vander Stichele
4763324e5d Add an example for the cutter element
Original commit message from CVS:
Add an example for the cutter element
2005-11-21 19:53:17 +00:00
Edward Hervey
9bee5b3f6a examples/gstfile.py: Cleanup
Original commit message from CVS:
* examples/gstfile.py:
Cleanup
* gst/gst-types.defs:
* gst/gst.defs:
API update.
More fixes to follow.
2005-11-21 18:48:19 +00:00
Thomas Vander Stichele
700082df2e add header stuff
Original commit message from CVS:
add header stuff
2005-11-19 10:37:58 +00:00
Edward Hervey
bf88eeddbb gst/gstpad.override: Use proper GValue <-> MiniObject conversion function
Original commit message from CVS:
* gst/gstpad.override:
Use proper GValue <-> MiniObject conversion function
* examples/Makefile.am:
* examples/sinkelement.py:
New example showing how to create a sink element in python.
2005-11-04 13:14:59 +00:00
Edward Hervey
6dd77f1aa4 examples/play.py: Fixed the play example to work with 0.9.4 API
Original commit message from CVS:
* examples/play.py:
Fixed the play example to work with 0.9.4 API
2005-11-04 10:14:22 +00:00
Edward Hervey
85b73ba53f gst/gst-types.defs: Updated modification from API
Original commit message from CVS:
* gst/gst-types.defs:
Updated modification from API
* gst/gstquery.override:
Added gst_query_parse_duration override
* examples/gstfile.py:
Now use duration query
Cleanups
2005-11-01 15:36:23 +00:00
Andy Wingo
7fbe25b7a0 examples/pipeline-tester: Fix for state change changes.
Original commit message from CVS:
2005-10-18  Andy Wingo  <wingo@pobox.com>

* examples/pipeline-tester: Fix for state change changes.
2005-10-18 10:29:02 +00:00
Edward Hervey
f50c30441c examples/gstfile.py: misc fixes
Original commit message from CVS:
* examples/gstfile.py:
misc fixes
* gst/Makefile.am:
* gst/pygstexception.c:
* gst/pygstexception.h:
* gst/gstelementfactory.override:
* gst/gst.override:
* gst/gstpad.override:
* gst/gstmodule.c: (init_gst):
Added exceptions system by Alessandro Decina <alessandro@nnva.org>
Closes bug #315433
* gst/gstbus.override:
* gst/gstelement.override:
Fix for _wrap_gst_element_get_state()
* gst/gstobject.override:
More debug
2005-10-13 10:41:06 +00:00
Thomas Vander Stichele
70d68cdd05 examples/play.py: update to current API and state of seek example
Original commit message from CVS:

* examples/play.py:
update to current API and state of seek example
2005-10-09 17:53:58 +00:00
Thomas Vander Stichele
a7a73930ff release time
Original commit message from CVS:
release time
2005-10-03 17:52:07 +00:00
Andy Wingo
b27e9ba001 examples/: Updates for bus API.
Original commit message from CVS:
2005-09-29  Andy Wingo  <wingo@pobox.com>

* examples/pipeline-tester (Window.play):
* examples/vumeter.py (Window.run): Updates for bus API.
2005-09-29 16:38:06 +00:00
Edward Hervey
fbd17dd797 gst/: Proper wrapping of GstController
Original commit message from CVS:
* gst/gst.override:
* gst/gstlibs.override:
Proper wrapping of GstController
* examples/Makefile.am:
* examples/audio-controller.py:
Example to show how to use gst.Controller
2005-09-29 15:42:31 +00:00
Edward Hervey
6e384e2e97 examples/gstfile.py: Update gstfile example so that... it works :)
Original commit message from CVS:
* examples/gstfile.py:
Update gstfile example so that... it works :)
2005-09-29 14:06:26 +00:00
Thomas Vander Stichele
9bd3add89c tweak
Original commit message from CVS:
tweak
2005-09-24 12:21:04 +00:00
Thomas Vander Stichele
5f3ff797a5 further cleanup, get the tick marks pixel perfect
Original commit message from CVS:
further cleanup, get the tick marks pixel perfect
2005-09-24 12:17:59 +00:00
Thomas Vander Stichele
ea0f5ff24b examples/fvumeter.py: condense code by using table and loop
Original commit message from CVS:
2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>

* examples/fvumeter.py:
condense code by using table and loop
* examples/vumeter.py:
fix up example for new API for both bus and level element
2005-09-23 21:10:36 +00:00
Thomas Vander Stichele
a74cc80a77 examples/vumeter.py: update for property name change
Original commit message from CVS:
* examples/vumeter.py:
update for property name change
* gst/gst.override:
* testsuite/test_element.py:
actually log on objects, yay
2005-09-12 17:06:09 +00:00
Andy Wingo
9e2af8b0b4 examples/pipeline-tester: Update pipelines. The fixed-rate v4l one doesn't work here, but the rest of them do.
Original commit message from CVS:
2005-09-05  Andy Wingo  <wingo@pobox.com>

* examples/pipeline-tester: Update pipelines. The fixed-rate v4l
one doesn't work here, but the rest of them do.
2005-09-05 16:31:50 +00:00
Edward Hervey
934c77178d examples/pipeline-tester: New API: STATE_SUCCESS -> STATE_CHANGE_SUCCESS
Original commit message from CVS:
* examples/pipeline-tester: (Window.play):
New API: STATE_SUCCESS -> STATE_CHANGE_SUCCESS
2005-09-05 14:20:06 +00:00
Andy Wingo
1bbb59401a examples/Makefile.am (examples_DATA): Dist fixer.
Original commit message from CVS:
2005-09-01  Andy Wingo  <wingo@pobox.com>

* examples/Makefile.am (examples_DATA): Dist fixer.

* examples/debugslider.py: Renamed from debug-slider.py so it can
be imported.

* examples/pipeline-tester: Add a debugslider.

* pygst.py.in (require): If pygst.require() is called multiple
times, don't pollute sys.path with unneeded path entries.
2005-09-01 14:39:51 +00:00
Andy Wingo
06c0cf5e18 examples/debug-slider.py: New file.
Original commit message from CVS:
2005-08-18  Andy Wingo  <wingo@pobox.com>

* examples/debug-slider.py: New file.

* examples/Makefile.am (examples_DATA): Dist it, foolios.
2005-08-18 11:36:23 +00:00
Andy Wingo
8755b2a178 whoops
Original commit message from CVS:
whoops
2005-08-16 16:50:34 +00:00
Andy Wingo
e3c70bcaeb /tmp/cvs3vKuoV
Original commit message from CVS:
/tmp/cvs3vKuoV
2005-08-16 16:47:45 +00:00
Andy Wingo
e6c416ca0d examples/pipeline-tester: Commit some updates I had.
Original commit message from CVS:
2005-08-03  Andy Wingo  <wingo@pobox.com>

* examples/pipeline-tester: Commit some updates I had.

* configure.ac (PYGST_CFLAGS): pygst.py generation is handled by
the makefile.
2005-08-03 12:32:13 +00:00
Andy Wingo
83196919be more pipes, some that work and some that are special
Original commit message from CVS:
more pipes, some that work and some that are special
2005-07-14 11:35:53 +00:00
Andy Wingo
37309ab22b fooling around with pipelines
Original commit message from CVS:
fooling around with pipelines
2005-07-13 16:57:14 +00:00
Andy Wingo
e6ee173eae examples/pipeline-tester (Window.on_message): Handle errors.
Original commit message from CVS:
2005-07-13  Andy Wingo  <wingo@pobox.com>

* examples/pipeline-tester (Window.on_message): Handle errors.
(Window.play): Drain messages from bus before setting pipe to
NULL.
2005-07-13 15:14:51 +00:00
Edward Hervey
2488b32b07 examples/: Updated some examples to 0.9
Original commit message from CVS:
* examples/bps.py:
* examples/f2f.py:
* examples/gstfile.py:
Updated some examples to 0.9
2005-07-13 12:31:47 +00:00
Andy Wingo
ce4e6304a2 mad creditz to the merali
Original commit message from CVS:
mad creditz to the merali
2005-07-13 12:27:47 +00:00
Andy Wingo
6074356cec examples/vumeter.py: New file, a VU meter application that reads from alsasrc.
Original commit message from CVS:
2005-07-13  Andy Wingo  <wingo@pobox.com>

* examples/vumeter.py: New file, a VU meter application that reads
from alsasrc.

* examples/fvumeter.py: New file, imported from Flumotion and
relicensed under the LGPL. Implements a simple VU meter widget.
2005-07-13 10:55:18 +00:00
Andy Wingo
d32e28af85 examples/pipeline-tester: Tweaks, show messages.
Original commit message from CVS:
2005-07-13  Andy Wingo  <wingo@pobox.com>

* examples/pipeline-tester: Tweaks, show messages.
2005-07-13 10:03:04 +00:00
Andy Wingo
786460e832 examples/pipeline-tester: New file, tests out gstreamer pipelines. The pipelines are a bit broken right now tho.
Original commit message from CVS:
2005-07-12  Andy Wingo  <wingo@pobox.com>

* examples/pipeline-tester: New file, tests out gstreamer
pipelines. The pipelines are a bit broken right now tho.
2005-07-12 15:23:22 +00:00
Andy Wingo
74f550caf0 Moved all examples up from examples/gst/ into examples/.
Original commit message from CVS:
2005-07-12  Andy Wingo  <wingo@pobox.com>

* configure.ac (AC_CONFIG_FILES):
* examples/: Moved all examples up from examples/gst/ into
examples/.
2005-07-12 13:27:32 +00:00
Andy Wingo
8136f42910 examples/gstplay: Removed examples for old gstplay.
Original commit message from CVS:
2005-07-12  Andy Wingo  <wingo@pobox.com>

* examples/gstplay: Removed examples for old gstplay.
2005-07-12 13:15:26 +00:00
Edward Hervey
30eeebe7d7 gst.play is gone in 0.9...
Original commit message from CVS:
* configure.ac:
* Makefile.am:
* gst/Makefile.am:
* examples/Makefile.am:
* testsuite/common.py:
gst.play is gone in 0.9...
2005-07-05 13:52:17 +00:00
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