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
Original commit message from CVS:
* gst/gst.defs:
* gst/gst.override:
add another registry method
* testsuite/Makefile.am:
add check-verbose
* testsuite/runtests.py:
check for VERBOSE env var
* testsuite/test_pad.py:
refactor a test and add one more for probes
Original commit message from CVS:
* gst/gstbuffer.override:
Increment the refcount when fetching GST_BUFFER_CAPS.
Python gurus, please fix if there's a better way this should be done.
Original commit message from CVS:
2005-09-21 Andy Wingo <wingo@pobox.com>
* testsuite/test_pad.py (PadProbeTest.testRemovingProbe): Add
probe removal test. Passes, but some other test sporadically fails
-- will check that later.
Original commit message from CVS:
2005-09-21 Andy Wingo <wingo@pobox.com>
* gst/gst.defs: Update for probe removal api
* gst/gstpad.override (_wrap_gst_pad_remove_data_probe)
(_wrap_gst_pad_remove_event_probe)
(_wrap_gst_pad_remove_buffer_probe): Removed, upstream does the
right thing now.
(_wrap_gst_pad_add_data_probe, _wrap_gst_pad_add_event_probe)
(_wrap_gst_pad_add_buffer_probe): Indent.
Original commit message from CVS:
* gst/gst.defs:
* gst/gststructure.override:
* testsuite/test_struct.py:
add a .keys() method to gst.Structure, plus test
Original commit message from CVS:
2005-09-16 Andy Wingo <wingo@pobox.com>
* gst/gst.defs (registry_get_default): Renamed from
gst_registry_get_default.
Original commit message from CVS:
2005-09-15 Andy Wingo <wingo@pobox.com>
* gst/gst-types.defs:
* gst/gst.defs: Update for registry/plugin/pluginfeature API changes.
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
Original commit message from CVS:
2005-09-12 Andy Wingo <wingo@pobox.com>
* testsuite/test_element.py (ElementName.testElementStateGetName):
s/NONE/VOID/.
Original commit message from CVS:
* gst/gst.defs:
add gst.ghost_pad_new_notarget
* gst/gstpad.override:
change wrap_gst_pad_new a little and add logging
* testsuite/test_pad.py:
add tests for constructors of gst.Pad
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.
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gstbuffer.override:
* gst/pygstminiobject.c: (pygstminiobject_new_noref):
* testsuite/test_buffer.py:
add a .data to buffers; it feels more natural to me than doing
str(buffer) compared to the other properties.
make sub_buffer test for data
Original commit message from CVS:
fix a race condition in test_buffer.py
* gst/gst.override:
* gst/gstmodule.c: (init_gst):
add a pygst debug category for bindings themselves to use
* gst/gstbuffer.override:
add a repr method; add some assertions
* gst/pygstminiobject.c: (pygst_miniobject_init),
(pygstminiobject_register_wrapper), (pygstminiobject_new),
(pygstminiobject_new_noref), (pygstminiobject_dealloc),
(pygstminiobject_clear):
make the miniobjs hash private with an underscore
add debugging for inserting/removal in hash
fix pygstminiobject_clear - it also needs to remove
from the global hash. Fixes a nasty race problem in
test_buffer
* testsuite/test_buffer.py:
expand on the subbuffer test
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.
Original commit message from CVS:
* gst/__init__.py:
del ltihooks properly; fixes loading of testhelper in testsuite
* gst/gst.defs:
wrap link_filtered
Original commit message from CVS:
2005-08-19 Andy Wingo <wingo@pobox.com>
* gst/interfaces.defs (MixerTrack): MixerTrack is a GObject. How
did this ever work before?
Original commit message from CVS:
2005-08-19 Andy Wingo <wingo@pobox.com>
* gst/interfaces.override (_wrap_gst_tuner_list_channels)
(_wrap_gst_tuner_list_norms, _wrap_gst_mixer_list_tracks)
(_wrap_gst_color_balance_list_channels): Catch programming errors
without segfaults, as glib would do.
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.
Original commit message from CVS:
* gst/gstmodule.c: (init_gst):
changed debug category name from 'gst-python' to 'python'
* gst/gst.override: (pygst_debug_log):
gchar is way smaller than an int... resulting in negative line numbers
in debug.
Original commit message from CVS:
* gst/gst.override: (pygst_debug_log):
gchar is way smaller than an int... resulting in negative line numbers
in debug.
Original commit message from CVS:
* gst/gst.override: (pygst_debug_log):
printf("urlencoded%20space") != printf("%s", "urlencoded%20space")
Funny how a lot of problems have gone since that's fixed :)
Original commit message from CVS:
* gst/gst.defs:
* gst/gst.override:
* gst/gstmodule.c:
We now have debugging in gst-python ;)
gst.[log|debug|info|warning|error]()
Original commit message from CVS:
2005-08-03 Andy Wingo <wingo@pobox.com>
* gst/gstmessage.override (_wrap_gst_message_parse_error): Always
return a tuple of length 2.
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.
Original commit message from CVS:
* gst/gst-types.defs: (GhostPad):
Added GhostPad type
* gst/interfaces.defs:
Added MixerTrackFlags, TunerChannelFlags and MixerOptions
Want the rest of the poem ? ;)
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/interfaces.defs:
* gst/interfaces.override:
* gst/xoverlay.override:
It seems that, somewhere along the way, I forgot to make sure interfaces
were binded too :)
Original commit message from CVS:
* gst/gstmessage.override:
wrapped gst_message_parse_segment_start() and
gst_message_parse_segment_done()
* gst/gst.defs:
I'm bored with writing "Updating defs file", so I'll just write a poem
by Charles Baudelaire, "L'invitation au voyage" :
Mon enfant, ma soeur,
Songe la douceur
D'aller l-bas vivre ensemble !
Aimer loisir,
Aimer et mourir
Au pays qui te ressemble !
Les soleils mouills
De ces ciels brouills
Pour mon esprit ont les charmes
Si mystrieux
De tes tratres yeux,
Brillant travers leurs larmes.
The rest at the next defs update :)
Original commit message from CVS:
* gst/gst.defs:
I'm bored with writing "Updating defs file", so I'll just write a poem
by Charles Baudelaire, "L'invitation au voyage" :
Mon enfant, ma soeur,
Songe la douceur
D'aller l-bas vivre ensemble !
Aimer loisir,
Aimer et mourir
Au pays qui te ressemble !
Les soleils mouills
De ces ciels brouills
Pour mon esprit ont les charmes
Si mystrieux
De tes tratres yeux,
Brillant travers leurs larmes.
The rest at the next defs update :)
Original commit message from CVS:
* gst/gstpad.override: misc fixes for change in gst_pad_get_parent()
* gst/gst-types.defs:
* gst/gst.defs: Updating defs file even more :)
Original commit message from CVS:
* gst/gst-types.defs: (MessageType):
updating to current core for 2 new GstMessageType's
* gst/gstbus.override: (bus_sync_handler),(bus_handler):
properly unref the message python wrapper...
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.
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.
Original commit message from CVS:
* gst/gstbus.override: (bus_handler) (bus_sync_handler):
Raise an exception if the callback doesn't return anything
* gst/pygstminiobject.c:
removed the 'ref' and 'unref' methods
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.
Original commit message from CVS:
2005-07-12 Andy Wingo <wingo@pobox.com>
* env: New script, munges PYTHONPATH for uninstalled usage, and
also $PACKAGES which is useful if you add `print-packages` to your
$PS1 and drop http://wingolog.org/pub/print-packages into your
$PATH.
Original commit message from CVS:
2005-07-12 Andy Wingo <wingo@pobox.com>
* configure.ac (AC_CONFIG_FILES): The makefile handles pygst.py
now.
* Makefile.am (install-data-local): Actually install pygst.pth to
the pythondir, not pyexecdir. Also install a properly sedded
pygst.py.
(pygst.py): Sed the builddir into pygst.py, and set not writable
(to avoid any confusion about which file to edit).
* pygst.py.in (_pygst_dir): Set _pygst_dir from one variable,
@PYGSTDIR@, which is manually sedded in from the Makefile, so that
it works both installed and uninstalled.
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/.
Original commit message from CVS:
* gst/gstmodule.c:
* gst/pygstminiobject.c:
Proper registration of PyGstMiniObject classes in order to be able to
create Event, Messages, Buffers from python.
More corrections on miniobject's refcounting
* gst/gstevent.override:
* gst/gstbuffer.override:
Removed overloaded overrides
* gst/gst.defs:
updated
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...
Original commit message from CVS:
* gst/gst.defs:
* gst/gst.override:
Probes are gone...
* Makefile.am:
* configure.ac:
* gst/Makefile.am:
* pygst.py.in:
Modifications to have parallel-installable gst-python
Works more or less in the same way as pygtk:
import pygst
pygst.require('0.9')
import gst
Original commit message from CVS:
* Makefile.am:
* configure.ac:
* gst/Makefile.am:
* pygst.py.in:
Modifications to have parallel-installable gst-python
Works more or less in the same way as pygtk:
import pygst
pygst.require('0.9')
import gst
Original commit message from CVS:
* gst/pygstminiobject.c:
thread safe handling of mini-objects
* codegen/codegen.py: (GstMiniObjectWrapper.constructor_tmpl):
let's not forget to wrap the MiniObject :)
* gst/gst-types.defs:
* gst/gst.defs:
Always keep up to date with the core
* gst/gstelement.override:
override for gst_element_query_position
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
* gst/gst.override:
PyGstMiniObject now properly wrap GstMiniObject and are referenced in a
global hash table
Original commit message from CVS:
* codegen/codegen.py: (GstMiniObjectWrapper.constructor_tmpl):
let's not forget to wrap the MiniObject :)
* gst/gst-types.defs:
* gst/gst.defs:
Always keep up to date with the core
* gst/gstelement.override:
override for gst_element_query_position
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
* gst/gst.override:
PyGstMiniObject now properly wrap GstMiniObject and are referenced in a
global hash table
Original commit message from CVS:
* codegen/argtypes.py:
* codegen/codegen.py:
* codegen/definitions.py:
* codegen/defsparser.py:
* codegen/defsconvert.py:
* codegen/docgen.py:
Updated codegen to support miniobject
* gst/Makefile.am:
Use the included (and modified) codegen for code generation.
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
* gst/pygstminiobject-private.h:
New GstMiniObject inspired from pygobject.[ch] code
* gst/common.h:
* gst/gst-types.defs:
* gst/gst.override:
* gst/gstbuffer.override:
* gst/gstcaps.override:
* gst/gstmodule.c:
* gst/gstpad.override:
Modifications to support MiniObject
* gst/gst.defs:
Allow null second parameter for ElementFactory.create()
and gst.element_factory_make()
Original commit message from CVS:
* codegen/argtypes.py:
* codegen/codegen.py:
* codegen/definitions.py:
* codegen/defsparser.py:
* codegen/docgen.py:
Updated codegen to support miniobject
* gst/Makefile.am:
Use the included (and modified) codegen for code generation.
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
* gst/pygstminiobject-private.h:
New GstMiniObject inspired from pygobject.[ch] code
* gst/common.h:
* gst/gst-types.defs:
* gst/gst.override:
* gst/gstbuffer.override:
* gst/gstcaps.override:
* gst/gstmodule.c:
* gst/gstpad.override:
Modifications to support MiniObject
* gst/gst.defs:
Allow null second parameter for ElementFactory.create()
and gst.element_factory_make()
Original commit message from CVS:
* gst/arg-types.py:
* gst/common.h:
* gst/gst-argtypes.c:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gst.override:
* gst/gstcaps.override:
* gst/gstelement.override:
* gst/gstmodule.c:
* gst/gstpad.override:
* gst/gststructure.override:
commented-out deprecated code,
compiles at last, and works for pipeline creation and state change
* configure.ac:
updated requirement of GStream (0.9.0), pygtk (2.6.1)
bumped version number (0.9.0.1)
Original commit message from CVS:
* gst/arg-types.py:
* gst/common.h:
* gst/gst-argtypes.c:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gst.override:
* gst/gstelement.override:
* gst/gstmodule.c:
* gst/gstpad.override:
* gst/gststructure.override:
commented-out deprecated code,
compiles at last, and works for pipeline creation and state change
* configure.ac:
updated requirement of GStream (0.9.0), pygtk (2.6.1)
bumped version number (0.9.0.1)
Original commit message from CVS:
Split out gst.override to a few more files.
Rename gstpad-handlers.override to gstpad.override
Include more information for some LinkError exceptions
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gstbuffer.override:
* testsuite/test_buffer.py:
Improve support GstBuffer attributes, r/w support for timestamp.
Original commit message from CVS:
* gst/interfaces.defs:
* gst/interfaces.override (_wrap_gst_color_balance_list_channels):
Apply patch from Zaheer Abbas Merali to implement this method. Not
that it's not .list_channels() due to conflict with a method of
the same name in the GstTuner interface
Original commit message from CVS:
2004-11-27 Martin Soto <martinsoto@users.sourceforge.net>
* gst/gst.override (_wrap_gst_event_new_any)
(_wrap_gst_event_new_discontinuous)
(_wrap_gst_event_any_get_structure)
(_wrap_gst_registry_pool_plugin_list):
* gst/gst.defs (get_data, event_new_any, any_get_structure):
Added basic support for "ANY" (navigation) events.
Added basic support for discont events (only one value for now,
we are limited by the GStreamer API).
Now it is possible to access data in a GstBuffer as a string
Added a definition for method get_data of GstBuffer.
* gst/gst.override (_wrap_gst_structure_set_value): Add an
optional parameter to allow selection of the right G_TYPE. If no
type is specified, make an educated guess.
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
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.
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.
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
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
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.
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
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
Original commit message from CVS:
* testsuite/struct.py (StructureTest.testStructureChange): Enable
some tests.
* gst/gst.override (_wrap_gst_structure_ass_subscript): Impl
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.
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
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)
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
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.
Original commit message from CVS:
* configure.ac: Correctly check for XML tools. Correctly set
BUILD_DOCS variable depending on tools.
* docs/Makefile.am: Use XML variables.
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
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.
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