Commit graph

954 commits

Author SHA1 Message Date
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
Olivier Crete
20a79de515 pkgconfig: We require pygobject and not pygtk. Fixes #578435 2009-04-11 16:54:00 +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
0a1bfa3ee1 test_adapter: No longer use slices (which was wrong to start with). 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
Felipe Contreras
b25600a8f7 Automatic update of common submodule
From d0ea89e to b3941ea
2009-04-04 21:19:46 +03:00
Edward Hervey
2383964753 Automatic update of common submodule
From f8b3d91 to d0ea89e
2009-04-04 14:55:08 +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
Edward Hervey
0d55256c9f pygst.py.in: Fix license (LGPL). 2009-04-04 10:05:50 +02:00
Mark Nauwelaerts
9a7284be3f Provide wrapper for gst_tag_get_type. Fixes #571156. 2009-04-03 12:28:40 +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
Jan Schmidt
98634b0521 Automatic update of common submodule
From 7032163 to f8b3d91
2009-03-09 23:14:12 +00:00
Sebastian Dröge
833bde9d24 Automatic update of common submodule
From ffa738d to 7032163
2009-03-08 12:06:40 +01:00
Sebastian Dröge
3f7f148769 Automatic update of common submodule
From 3f13e4e to ffa738d
2009-03-08 11:22:17 +01:00
Sebastian Dröge
7e874085da Automatic update of common submodule
From 3c7456b to 3f13e4e
2009-03-07 11:47:49 +01:00
Sebastian Dröge
053d8f95f4 Automatic update of common submodule
From 57c83f2 to 3c7456b
2009-03-07 10:47:56 +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
Edward Hervey
61b534042c .gitignore: Reorder ignores and add *~ 2009-03-02 15:22:33 +01:00
Edward Hervey
6d6781e01f plugin: Don't import modules that were already imported.
This avoids warnings for the cases where pygst.require() was already
called.
2009-02-27 12:29:04 +01:00
Jan Schmidt
3f5c8795c3 build: Update shave init statement for changes in common. Bump common. 2009-02-25 15:14:42 +00:00
Jan Schmidt
441abc55af Automatic update of common submodule
From 9cf8c9b to a6ce5c6
2009-02-25 11:33:13 +00: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
Jan Schmidt
ad95fc4e14 Use shave for the build output 2009-02-22 20:40:14 +00: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
Jan Schmidt
c09e3207bc Automatic update of common submodule
From 5d7c9cc to 9cf8c9b
2009-02-22 16:01:49 +00:00
David Schleef
6c2485c4e1 Automatic update of common submodule
From 80c627d to 5d7c9cc
2009-02-21 11:14:13 -08: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
c4d785bc7b Plugin Loader: Don't register non-gstElement subclasses 2009-02-20 10:19:47 +01:00
Edward Hervey
3ec4919434 gstltihooks: Sync with upstream pygobject/ltihooks.py commit.
Apply commit from James Henstridge 2009-02-20 : "I've updated the
license block in pygtk/ltihooks.py to LGPL (not sure why I
didn't just use LGPL like the rest of pygtk)."

Partially fixes #572487
2009-02-20 08:34:38 +01:00
Edward Hervey
4d016c78f8 plugin/Makefile.am : Remove commented lines 2009-02-09 14:02:41 +01:00
Edward Hervey
9a5a1e8e7e Python plugin loader implementation.
Fixes #304361.
2009-02-09 14:02:34 +01:00
Edward Hervey
3a000ecaa4 Add a rule to generate valgrind suppressions for a single test. 2009-02-09 13:54:50 +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
531b34bcbf Bump revision to use for common submodule. 2009-02-09 12:04:04 +01:00
Jan Schmidt
cb0f2ff130 Bump common 2009-01-30 17:41:18 +00:00
Edward Hervey
053cd4bdee Fix previous commit, wasn't actually setting up a symbolic link 2009-01-30 09:06:31 +01:00
Edward Hervey
c904c72063 Use a symbolic link for the pre-commit client-side hook 2009-01-30 08:59:21 +01:00
Edward Hervey
ad201dca69 Ignore new auto-generated .c files 2009-01-30 08:59:07 +01:00
Stefan Kost
378bddc8c5 Add progress report element to cp example. 2009-01-26 11:11:18 +02:00
Stefan Kost
3cb127e9d9 Add an example for using the tagsetter iface. 2009-01-23 22:17:21 +02:00
Sebastian Dröge
5cc4c08735 Fix pre-commit hook 2009-01-22 13:50:33 +01:00