Edward Hervey
eb8869dce1
gst: Bump required core/base to 0.10.20
...
And clean up code accordingly
2010-10-18 12:01:02 +02:00
Edward Hervey
642fed71da
gst: Update to latest 0.10.31 core/base API
2010-10-18 12:00:57 +02:00
Leo Singer
84f6e26768
gst: add bindings for more gst.util_uint64_scale_*
2010-08-27 12:43:59 +02:00
Alessandro Decina
dc6b4f7a0a
gst.Structure: raise TypeError when assigning None to a key
2010-08-06 23:18:02 +02:00
Alessandro Decina
e20157bda2
gst: implement getters and setters for GST_TYPE_FRACTION properties. Fixes #624882 .
2010-07-26 19:42:34 +02:00
Alessandro Decina
56a725879d
gst.GhostPad: allow set_target(None) to unset the target. Fixes #590735 .
2010-07-14 12:35:35 +02:00
Edward Hervey
22db96fc6d
gst: Add GST_TAG_IMAGE_ORIENTATION
2010-07-07 12:12:09 +02:00
Edward Hervey
3573dfefa9
base: Add new GstBaseSink methods
2010-07-07 12:07:55 +02:00
Edward Hervey
110de36d65
Add gst-plugins-base 0.10.29/0.10.30 API additions
2010-06-27 10:35:55 +02:00
Edward Hervey
e485bad78b
Add new core library API from 0.10.30
2010-06-27 10:14:58 +02:00
Edward Hervey
7ac79bfef9
Add new core 0.10.29 and 0.10.30 API definitions
2010-06-27 10:08:02 +02:00
Thiago Santos
5ea379d845
gstmodule: Add missing tags
...
Map GST_TAG_* that were missing in gst-python bindings
2010-05-03 14:15:20 -03:00
Olivier Aubert
f01b950a4c
Implement setter for gst.Buffer.size
...
https://bugzilla.gnome.org/show_bug.cgi?id=589582
2010-04-29 16:10:20 +02:00
Thiago Santos
697c8e73f7
tag: Adds xmp functions mappings
...
Maps gst_tag_list_from_xmp_buffer and
gst_tag_list_to_xmp_buffer
https://bugzilla.gnome.org/show_bug.cgi?id=617068
2010-04-29 16:05:26 +02:00
Thiago Santos
8331db15ca
arg-types: Map const GstMiniObject
...
Adds GstMiniObjectArg to be able to use GstMiniObject objects
and its const versions in functions
https://bugzilla.gnome.org/show_bug.cgi?id=617068
2010-04-29 16:05:26 +02:00
Emilio Pozuelo Monfort
df44e7b426
Fix import on GNU/Hurd
2010-03-15 11:37:19 +01:00
Sebastian Dröge
60e9fa42a1
build: Make some more rules silent if requested
2010-02-26 16:45:38 +01:00
Luca Bruno
5f22436694
Fix importing of gst module on GNU/kFreeBSD
2010-01-23 12:39:46 +01:00
Edward Hervey
75b08daff2
bump minimum requirement to 0.10.18 and remove cruft
2010-01-18 15:03:22 +01:00
Edward Hervey
1ec21f61ce
ignore new API additions for 0.10.26 core/base releases
2010-01-18 15:03:22 +01:00
Edward Hervey
589e66102f
gst: Update .defs to new API
2010-01-18 15:03:22 +01:00
Thiago Santos
64e9d7f25b
python: Do not pop tags in discoverer.py
...
Do not use pop on dicts because it destroys the tags info.
Fixes #592459
2010-01-18 09:06:28 -03:00
Edward Hervey
5d90f1d431
Update definitions and ignores for core/base 0.10.25. Fixes #587432
2009-09-16 16:23:27 +02:00
Johannes Berg
e2de828bba
Use only one copy of pygstminiobject. Fixes #590348 .
...
Instead of linking pygstminiobject.c into all the modules,
we can link it only into _gst and export the symbols for
the other modules. This fixes bug #590348 because now the
class key/id is common for all modules as a side-effect.
Also makes the modules smaller.
2009-08-21 16:38:32 +02:00
Alessandro Decina
9350cfa633
Fix leak in gst_base_sink_get_lasy_buffer. Fixes #592447 .
2009-08-20 15:46:53 +02:00
Alessandro Decina
3bcc688758
Release the GIL around gst_pad_link.
2009-08-13 11:46:05 +02:00
Edward Hervey
f46cb7c335
gstpad: Don't forget to acquire/release the GIL in pac_block_destroy_data
2009-08-13 11:00:49 +02:00
Edward Hervey
065a82a88a
gst: More API additions to gstreamer core. Fixes #587432
2009-07-17 11:48:36 +02:00
Edward Hervey
dfc49916ec
gstquery.override: Wrap remainig gst_query_parse*() methods.
2009-07-01 16:01:53 +02:00
Edward Hervey
70f4f4c646
gstevent.override: Fix typos.
2009-07-01 16:01:41 +02:00
Edward Hervey
7ad1b84f50
gst.Message: Wrap remaining parse_*() methods.
2009-07-01 13:54:57 +02:00
Edward Hervey
13d2cb2145
gst.Event: wrap parse_new_segment_full()
2009-07-01 13:54:40 +02:00
Edward Hervey
92d6245ff6
gst.defs: Properly mark functions returning new objects
2009-07-01 13:53:54 +02:00
Edward Hervey
eb2aedc523
gst.Message: Add overrides for new 0.10.24 messages
2009-07-01 12:30:59 +02:00
Edward Hervey
f1bbb486ae
gst.Event: Add override for step event
2009-07-01 12:30:40 +02:00
Edward Hervey
a018096a7c
Update .defs for core API additions
2009-07-01 10:58:42 +02:00
Jan Schmidt
71539efe7f
values: Fix segfault in the testsuite
...
It seems pygst_value_from_pyobject should not unref the passed
in object. Wrap the original pygst_value_from_pyobject in a function
that converts unicode python objects and then unrefs the temporary
object after extraction into a GValue.
2009-06-05 23:26:11 +01:00
Thomas Vander Stichele
26fa6dd184
wrap gst_tag_to_vorbis_comment; fix uint tag setting
...
Setting gst.TAG_TRACK_NUMBER was failing because GStreamer
expects a uint while Python object -> GValue conversion was
giving an int. gst_tag_to_vorbis_comment was wrapped so
this conversion could be tested and failed on properly.
2009-06-01 22:02:47 +02:00
Thomas Vander Stichele
88f3323bfe
Convert unicode objects to utf-8 encoded G_STRINGs
2009-06-01 19:08:47 +02:00
Thomas Vander Stichele
eb3701dfe5
fix some grammar, add some debug
2009-06-01 12:46:03 +02:00
Edward Hervey
db8ae1f191
gst.defs: Replace gchar** by GStrv to wrap more methods. Fixes #580992
2009-05-26 21:02:19 +02:00
Edward Hervey
f72c2fe02a
gst-pb-0.10.23.ignore: Remove stray empty line.
...
This caused some issues on some systems.
2009-05-12 11:52:11 +02:00
Edward Hervey
ed998fec03
gst-pb-0.10.23: Fix the ignores, globs need to go in a special section.
...
Finishes fixing #581729
2009-05-07 14:50:04 +02:00
Edward Hervey
ff43cb3c67
gst-0.10.23.ignore: Add newly added enum values. Partially fixes #581729
2009-05-07 14:49:53 +02:00
Thomas Vander Stichele
12a210c613
TIME_ARGS: Catch bad input. Fixes #579455
2009-04-23 17:08:04 +02:00
Jan Schmidt
777a4d59ec
python: Fix some locking problems
...
Add some python pyg_begin_allow_threads/end_allow_threads when calling into some gstreamer functions that might
call into python.
2009-04-18 16:39:42 +01:00
Edward Hervey
ddf17d4033
Wrap gst-plugins-base-0.10.23 API additions. Partially fixes #578848
2009-04-17 19:28:08 +02:00
Edward Hervey
a41177e510
Wrap new API added in gstreamer-0.10.23. Partially fixes #578848
2009-04-17 18:51:40 +02:00
Mark Nauwelaerts
e9d2003af5
query_new_seeking wrapper must return query with refcount 1. Fixes #579183 .
2009-04-17 11:34:37 +02:00
Thomas Vander Stichele
62d82ad5b6
Merge branch 'bz-577735'
2009-04-15 22:38:28 +02:00
Edward Hervey
bbedab4e65
registry: fix deadlock with recursive registry scanning.
...
The way to properly fix this issue was in fact to disable the registry
scanning when we import gst from the python plugin loader since...
we are 100% guaranteed this is being called from a registry scan :)
2009-04-12 21:27:33 +02:00
Laszlo Pandy
4d8b4c8dd3
debug: Implement gst.debug_log. Fixes #571380
2009-04-11 16:58:25 +02:00
Edward Hervey
ec44907858
adapter: overrides for _take/_peek. Fixes #576505 .
...
This creates strings of the proper size, unlike the previous patch.
2009-04-11 16:49:42 +02:00
Edward Hervey
04392b2862
arg-types: Remove guint8* argtype.
...
Partially reverts 7aef2834cf
2009-04-11 16:49:42 +02:00
Edward Hervey
9a8db128d0
__init__: Postpone registry update during initialization. Fixes #576145
2009-04-11 16:24:37 +02:00
Alessandro Decina
1cd54e6d45
Fix uninstalled usage with python 2.6. Fixes #576546
...
Also imports submodules as mentionned by Philippe Normand.
2009-04-11 16:22:06 +02:00
Thomas Vander Stichele
a397586060
Merge branch 'master' of ssh://thomasvs@git.freedesktop.org/git/gstreamer/gst-python into bz-577735
2009-04-10 15:43:35 +02:00
Thomas Vander Stichele
f4865eb427
handle actual GObject having been set to NULL in repr
...
(For example, when doing weak ref tracking)
2009-04-04 12:57:31 +02:00
Mark Nauwelaerts
9a7284be3f
Provide wrapper for gst_tag_get_type. Fixes #571156 .
2009-04-03 12:28:40 +02:00
Thomas Vander Stichele
dd6bf4a4d4
Fix for #577735 : do_handle_message leaks messages
2009-04-02 17:21:58 +02:00
Edward Hervey
e92f06b126
Fix some leaks.
2009-03-26 16:18:04 +01:00
Edward Hervey
7aef2834cf
New guint8* ArgType. Wraps the various GstAdapter methods. Fixes #576505
2009-03-26 16:13:48 +01:00
Alessandro Decina
0fd4db686b
gstbus: fix refcounting in gst.Bus.set_sync_handler.
2009-03-17 15:03:09 +01:00
Edward Hervey
4eba960ed2
base.defs: Allow passing NULL/None to gst.BaseTransform.suggest()
2009-03-10 19:29:51 +01:00
Edward Hervey
f884a2a7de
gstcaps: Remove dead code.
...
Those two lines will never be called, because caps2 will always be NULL
if we go to error (either we haven't used it yet (first goto and in this
case it's NULL), or.. it's NULL (second goto)).
2009-03-05 13:59:30 +01:00
Edward Hervey
3077b801bd
pbutils: Fix leaked GStrv. Fixes #574258
2009-03-05 13:45:07 +01:00
Edward Hervey
92f2e4d540
Fix leak in gst_flow_get_name() wrapper function. Fixes #574251
...
PyString_FromString will make a copy of the provided string.
2009-03-05 13:22:01 +01:00
Alessandro Decina
83f31c7194
Don't steal a ref to event in gst.BaseTransform.do_src_event.
2009-02-24 11:45:57 +01:00
Edward Hervey
4fadf0700e
gstbus.override: Allow using set_sync_handler with None as a parameter
2009-02-22 20:13:04 +01:00
Edward Hervey
51ac26b86c
GstPad: Use gst_pad_set_blocked_async_full() if available.
...
Avoids leaking arguments.
Fixes #514717
2009-02-22 20:12:23 +01:00
Edward Hervey
d66033a19c
gstpad.override: Take a copy of gst_static_pad_template_get_caps()
...
This means that we take a completely new caps for the sole usage of
gst-python. The GstCaps return by gst_static_pad_template_get_caps() are
(surprise) static and therefore will always exist... as long as the
GstStaticPadTemplate (and the factory providing it) still exist.
This solves the case of getting the caps of a static pad template *before*
any element was created using the GstElementFactory. When the factory is
used to create an element, a new factory is created, replacing the old one,
and plainly discarding any static values (including those caps).
2009-02-20 18:29:20 +01:00
Edward Hervey
9291aa202f
GstMiniObject: Re-increment the C refcount after using a miniobject.
...
This behaviour is symmetrical to what we do at the very beginning (incrementing
the Python refcount of the wrapper object and decrementing the C refcount of the
actual object).
2009-02-09 13:54:44 +01:00
Edward Hervey
ad201dca69
Ignore new auto-generated .c files
2009-01-30 08:59:07 +01:00
Edward Hervey
3b6ab11761
Raise an Exception when wrapping a NULL GstIterator.
...
Original commit message from CVS:
* gst/pygstiterator.c: (pygst_iterator_new):
* testsuite/test_iterator.py:
Raise an Exception when wrapping a NULL GstIterator.
Fixes #566903
2009-01-08 12:25:26 +00:00
Vincent GENIEUX
405b07512a
gst/gststructure.override: Don't leak key names in _wrap_gst_structure_keys.
...
Original commit message from CVS:
patch by: Vincent GENIEUX <mutex at runbox dot com>
* gst/gststructure.override:
Don't leak key names in _wrap_gst_structure_keys.
2009-01-05 11:05:32 +00:00
Edward Hervey
0cfca146c5
gst/: Wrap more GstIndexEntry methods and properties.
...
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gst.override:
Wrap more GstIndexEntry methods and properties.
2009-01-02 21:46:30 +00:00
Edward Hervey
4e04dc11c8
Wrap gst-plugins-base's tag helper library.
...
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/tag.defs:
* gst/tag.override:
* gst/tagmodule.c: (inittag):
Wrap gst-plugins-base's tag helper library.
Partially fixes #565762
2008-12-31 13:32:58 +00:00
Edward Hervey
8aa05d4cd7
Wrap gst-plugins-base's video helper library.
...
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/video.defs:
* gst/video.override:
* gst/videomodule.c: (initvideo):
Wrap gst-plugins-base's video helper library.
Partially fixes #565762
2008-12-31 13:06:58 +00:00
Edward Hervey
2b32341a3a
Wrap gst-plugins-base's audio helper library.
...
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/audio.defs:
* gst/audio.override:
* gst/audiomodule.c: (initaudio):
Wrap gst-plugins-base's audio helper library.
Partially fixes #565762
2008-12-31 12:01:02 +00:00
Edward Hervey
e9d605a75c
Updated core API additions
...
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gst-0.10.20.ignore:
* gst/gst-0.10.22.ignore:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gstversion.override.in:
Updated core API additions
2008-12-30 19:20:31 +00:00
Alessandro Decina
fcf0d4fa2c
gst/__init__.py: Add gst.Fourcc.__eq__ and gst.Fourcc.__ne__.
...
Original commit message from CVS:
* gst/__init__.py:
Add gst.Fourcc.__eq__ and gst.Fourcc.__ne__.
2008-12-09 14:30:43 +00:00
Edward Hervey
e29018175a
gst/Makefile.am: Don't forget to dist/install gst-0.10.21.ignore
...
Original commit message from CVS:
* gst/Makefile.am:
Don't forget to dist/install gst-0.10.21.ignore
2008-12-09 11:48:15 +00:00
Vincent Genieux
e6cd027e1a
gst/arg-types.py: Fix memory leak for GstMiniObjects used as parameters in class method overrides.
...
Original commit message from CVS:
Patch by : Vincent Genieux <mutex at runbox dot com>
* gst/arg-types.py:
Fix memory leak for GstMiniObjects used as parameters in class method
overrides.
Fixes #543961
2008-12-09 10:16:08 +00:00
Edward Hervey
75bd1f6f6d
gst/gstpad.override: Fix memory leak for functions that return a newly created buffer as a function argument.
...
Original commit message from CVS:
* gst/gstpad.override:
Fix memory leak for functions that return a newly created buffer as
a function argument.
Fixes #554545
2008-12-06 15:52:31 +00:00
Edward Hervey
7a2babed30
codegen/argtypes.py: Add handling of 'keep-refcount' for GBoxed arguments.
...
Original commit message from CVS:
* codegen/argtypes.py:
Add handling of 'keep-refcount' for GBoxed arguments.
* gst/gst.defs:
Mark the appropriate 'gst_message_new_*' arguments when the method
takes the ownership of the passed gst.Structure/gst.TagList
* testsuite/test_message.py:
Test for creating messages that take a gst.Structure/gst.TagList as
argument and make sure they're properly created.
Fixes #556054
2008-12-06 15:41:41 +00:00
Thomas Vander Stichele
36fff62027
pep-8 cleanups
...
Original commit message from CVS:
pep-8 cleanups
2008-11-23 12:31:42 +00:00
Alessandro Decina
47a3d6fd28
Wrap gst_type_find_peek.
...
Original commit message from CVS:
* gst/gst.override:
* testsuite/test_typefind.py:
Wrap gst_type_find_peek.
2008-11-19 16:54:58 +00:00
Alessandro Decina
74a5097ae0
gst/: Add GstBaseTransform::transform_size virtual.
...
Original commit message from CVS:
* gst/base.defs:
* gst/gstbase.override:
Add GstBaseTransform::transform_size virtual.
2008-11-08 12:16:31 +00:00
Alessandro Decina
e9bf8a0868
gst/__init__.py: Fix on systems that don't have dlopen or don't support RTLD_GLOBAL and
...
Original commit message from CVS:
reviewed by: Edward Hervey <edward.hervey@collabora.co.uk>
* gst/__init__.py:
Fix on systems that don't have dlopen or don't support RTLD_GLOBAL and
RTLD_LAZY.
2008-11-08 11:49:30 +00:00
Jan Schmidt
d5c7296122
gst/gst.override: Fix compiler warning about missing format string.
...
Original commit message from CVS:
* gst/gst.override:
Fix compiler warning about missing format string.
2008-11-07 22:29:06 +00:00
Thiemo Seufer
f03c4cc922
gst/__init__.py: Use correct values for RTLD_GLOBAL and RTLD_LAZY on Linux/MIPS as the values are different there fro...
...
Original commit message from CVS:
Patch by: Thiemo Seufer <ths at networkno dot de>
* gst/__init__.py:
Use correct values for RTLD_GLOBAL and RTLD_LAZY on Linux/MIPS
as the values are different there from all other Linux platforms.
Fixes bug #553134 .
2008-10-05 08:16:38 +00:00
Alexander Wirt
9fc25718b5
gst/__init__.py: Import modules in the correct order, i.e. libxml2 before
...
Original commit message from CVS:
Patch by: Alexander Wirt <formorer at debian dot org>
* gst/__init__.py:
Import modules in the correct order, i.e. libxml2 before
GStreamer stuff, to prevent unresolved symbols. Fixes bug #553131 .
2008-10-05 08:14:42 +00:00
Edward Hervey
490f3fde52
Add API additions for upcoming 0.10.21 core release
...
Original commit message from CVS:
* configure.ac:
* gst/base.defs:
* gst/gst-0.10.21.ignore:
* gst/gst.defs:
* gst/gstversion.override.in:
Add API additions for upcoming 0.10.21 core release
2008-09-09 10:41:27 +00:00
Edward Hervey
3b20dd082d
gst/gstcaps.override: Override gst_caps_append_structure() and make a copy of the structure given as argument.
...
Original commit message from CVS:
* gst/gstcaps.override:
Override gst_caps_append_structure() and make a copy of the structure
given as argument.
Fixes #549450
2008-08-26 15:58:15 +00:00
Edward Hervey
d17feec22d
gst/: Add gstdebugutils.[ch] methods that weren't wrapped previously.
...
Original commit message from CVS:
* gst/gst-0.10.15.ignore:
* gst/gst-types.defs:
* gst/gst.defs:
Add gstdebugutils.[ch] methods that weren't wrapped previously.
We can now dump pipeline graphviz files from python ! :)
2008-08-11 16:40:45 +00:00
Edward Hervey
8c5646ea9e
update upstream API changes
...
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/base.defs:
* gst/gst-0.10.18.ignore:
* gst/gst-0.10.20.ignore:
* gst/gst-pb-0.10.18.ignore:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gstversion.override.in:
* gst/interfaces.defs:
update upstream API changes
2008-07-02 11:23:39 +00:00
Jan Schmidt
468cb05597
gst/gstbuffer.override: the GstBuffer overrides seem to be confused about whether they're mini-objects or a GBoxed, a...
...
Original commit message from CVS:
* gst/gstbuffer.override:
the GstBuffer overrides seem to be confused about whether they're
mini-objects or a GBoxed, and it makes copy_on_write no actually
return a usable gst.Buffer. Fix up places where GstBuffers are
treated as GBoxed to use pygstminiobject functions.
Makes gst.Buffer('blah').copy_on_write() work.
* testsuite/test_buffer.py:
Add test for copy-on-write writability
* examples/buffer-draw.py:
Add an example of drawing on a GStreamer buffer with cairo
* gst/gstpad.override:
Make function static
2008-06-27 08:39:37 +00:00
Edward Hervey
103e13fa66
gst/: Fix double-import issues on macosx.
...
Original commit message from CVS:
* gst/common.h:
* gst/gstmodule.c:
* gst/interfaces.override:
* gst/pbutils.override:
* gst/pygstiterator.c:
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
Fix double-import issues on macosx.
Fixes #461838
2008-06-26 14:57:29 +00:00
Edward Hervey
4e33f9fdcc
gst/gstmodule.c: Return None if GstMiniObject GValue doesn't contain anything (NULL).
...
Original commit message from CVS:
* gst/gstmodule.c: (pygstminiobject_from_gvalue):
Return None if GstMiniObject GValue doesn't contain anything (NULL).
Fixes #540221
2008-06-26 09:14:51 +00:00
Edward Hervey
6c881f6ab6
Re-opens #530417
...
Original commit message from CVS:
* gst/__init__.py:
* gst/gstelement.override:
* testsuite/test_element.py:
Revert 2008-05-08 Edward Hervey <edward.hervey@collabora.co.uk>
Re-opens #530417
2008-06-13 11:11:38 +00:00