Thibault Saunier
7b627c499d
gst: Fix a crash when passing wrong type as __templates__
2016-02-15 23:28:47 +01:00
Thibault Saunier
8b94b967a0
Avoid warning about gi.require_version not being called
2016-02-08 11:30:08 +01:00
Sebastian Dröge
1fe791cafa
Back to development
2015-12-24 15:30:00 +01:00
Sebastian Dröge
bf67677fb8
Release 1.7.1
2015-12-24 15:00:41 +01:00
Sebastian Dröge
f9eb5b7877
python: Check return value of g_module_symbol()
...
CID 1320702
2015-12-14 13:03:24 +01:00
Sebastian Dröge
b0e9b79ca8
python: Don't call Py_DECREF() on NULL
...
CID 1320703
2015-12-14 13:01:25 +01:00
Sebastian Dröge
4097d3df3c
pythonplugin: Clean up error handling a bit
...
Don't g_error() but only g_critical() when things go wrong and return FALSE.
g_error() would kill the application immediately.
Also check if we can actually get gi.repository.Gst before using it.
2015-11-16 10:12:37 +02:00
Mark Nauwelaerts
9352c54ced
overrides: also provide wrapper for trace level debug logging
2015-11-08 11:56:41 +01:00
Mark Nauwelaerts
664c153a5f
overrides: fix a few typos in exception messages
2015-11-08 11:56:20 +01:00
Thibault Saunier
7dffdb6864
examples: Port the sink example to GstBaseSink
...
Also we now need to explicitly call Gst.init() from python bindings.
2015-10-28 15:27:42 +01:00
Mark Nauwelaerts
1f26b4ad2b
overrides: chain up to base __init__ in Pad override
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=757108
2015-10-26 14:36:00 +01:00
Thibault Saunier
3ff39bb485
Back to development
2015-09-25 12:03:45 +02:00
Thibault Saunier
736cc553f4
Release 1.6.0
2015-09-25 12:01:24 +02:00
Thibault Saunier
1d02193f47
Back to development
2015-06-24 17:44:44 +02:00
Thibault Saunier
a4bbd96af1
Release 1.5.2
2015-06-24 17:44:30 +02:00
Thibault Saunier
ed1f9eccba
tests: Fix tests in python2
...
Python2 core checks that the first argument of a method is of the type
of the object if it does not have any info about the method, so when
using Gst not initialized it raiser a TypeError and not a
Gst.NotInitialized as expected.
+ And fix a typo
2015-04-24 11:25:38 +02:00
Thibault Saunier
b80ea319cd
tests: Add test_fraction back in the testsuite
...
Properly porting it and adding a small test about getting fraction
from a Gst.Structure
2015-04-24 11:21:44 +02:00
Thibault Saunier
74f7ffbb24
overrides: Do not use inspect.signature as it is not avalaible in python2
...
Fix regression from https://bugzilla.gnome.org/show_bug.cgi?id=746329
2015-04-24 11:15:09 +02:00
Thibault Saunier
d97662ad41
test: Bring back the testsuite and test if the initialization override works
...
Summary:
Simplify the Makefile taking example on pitivi and copy several pitivi
testing files, simplifying them a bit for our use case
Reviewers: Mathieu_Du
Differential Revision: http://phabricator.freedesktop.org/D97
2015-04-24 09:17:02 +02:00
Thibault Saunier
6b32ccbbb2
overrides: Disable all GStreamer APIs until Gst has been initialized
...
Summary:
And throw an exception if the user tries to call any Gst API without
initializing gst.
https://bugzilla.gnome.org/show_bug.cgi?id=747555
Reviewers: Mathieu_Du
Differential Revision: http://phabricator.freedesktop.org/D87
2015-04-24 09:16:53 +02:00
Sebastian Dröge
67d7adc895
Remove INSTALL file
...
autotools automatically generate this, and when using different versions
for autogen.sh there will always be changes to a file tracked by git.
2015-04-22 10:40:59 +02:00
Thibault Saunier
3d19875eb7
overrides: Try hard to make the query writable in the pad query function
...
Summary:
We know that the bindings will get an extra ref but we know that
it is not actually needed, so we are safe to decrease the refcount
by one in that particular context making sure we give PyGI its
ref back when we are done.
Reviewers: Mathieu_Du
Differential Revision: http://phabricator.freedesktop.org/D41
https://bugzilla.gnome.org/show_bug.cgi?id=746329
2015-03-19 10:27:51 +01:00
Thibault Saunier
025b7cfbea
plugin: Name differently between python2 and python3
...
Those are 2 different binaries and thus should have different
.so names. Just use the $PYTHON_SO for that to happen.
https://bugzilla.gnome.org/show_bug.cgi?id=738157
2015-03-06 19:29:09 +01:00
Thibault Saunier
302a383a10
Back to development
2014-10-20 13:40:05 +02:00
Thibault Saunier
0ff3c63dd9
Release 1.4.0
2014-10-20 11:24:58 +02:00
Sebastian Dröge
6e7af72aa3
pythonplugin: Fix compiler warning about unused format string argument
...
CC libgstpythonplugin_la-gstpythonplugin.lo
gstpythonplugin.c:192:65: warning: data argument not used by format string
[-Wformat-extra-args]
GST_DEBUG ("GST_PLUGIN_SYSTEM_PATH set to %s", plugin_path, plugin_path);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
2014-10-19 13:34:59 +02:00
Thibault Saunier
117849239c
Release 1.3.90
2014-09-24 11:13:45 +02:00
Rico Tzschichholz
34831879e9
plugin: Do not version the plugin library
2014-06-10 16:06:45 +02:00
Thibault Saunier
96b031a948
Move old example to a dedicated folder so user know it is no up to date
2014-06-06 10:35:46 +02:00
Thibault Saunier
ed1c9866a2
Add an example sink element and override the chain and event functions of pads
...
Otherwize we will get 2 time acces to the element in it, which does
not make much sense. The _full variant can still be used.
2014-06-06 10:35:09 +02:00
Thibault Saunier
367d281ab6
Reimplement gstpython plugin on top of PyGobject
2014-06-06 10:28:58 +02:00
Thibault Saunier
1cf5e26e01
Update common submodule
2014-06-05 17:47:17 +02:00
Christoph Reiter
4c08c3396c
overrides: Don't pass arguments to Boxed base class __init__() in Gst.Caps override.
...
This is needed since: https://git.gnome.org/browse/pygobject/commit/?id=3a2bfc8bf01fcae3863
https://bugzilla.gnome.org/show_bug.cgi?id=730596
2014-05-22 23:09:27 +02:00
Lubosz Sarnecki
16979ed48b
python3: apply pep 238 for division overload
...
Python 3 needs an __truediv__ operator method, used in GstFraction.
see: http://legacy.python.org/dev/peps/pep-0238/
https://bugzilla.gnome.org/show_bug.cgi?id=726920
2014-04-01 09:56:13 +02:00
Thibault Saunier
edd21362f6
overrides: Import the _gi_gst module relative
...
We always expect it to be in the same directory and it fixes its import
with python3
https://bugzilla.gnome.org/show_bug.cgi?id=726921
2014-04-01 09:56:13 +02:00
Sebastian Dröge
b8702b239f
Modernize configure.ac a bit
...
Especially create tar.xz files instead of tar.gz
2014-03-29 15:15:27 +01:00
Sebastian Dröge
bf9f11ee07
Fix automake warning
...
INCLUDES is the old name of AM_CPPFLAGS and is deprecated.
2014-03-29 15:01:26 +01:00
Sebastian Dröge
9f0eb95a7a
Fix extension of native Python module
...
When building debug modules this e.g. has to be _d.so instead of just .so
2014-03-29 15:01:24 +01:00
Thibault Saunier
59784c2357
Back to development
2014-03-16 12:51:03 +01:00
Thibault Saunier
4e13f96d3c
Release 1.2.0
2014-03-15 18:02:45 +01:00
Thibault Saunier
2644bf83bb
We actually depend on python 2.5 not 2.7
2014-03-15 17:39:06 +01:00
Thibault Saunier
8cc4bda46a
overrides: Checking an empty caps should return False
2014-03-15 16:27:44 +01:00
Simon Farnsworth
c889037e40
Fix zip code of new FSF address
...
I missed the zip code last time round - fix it. Thanks to Michael Schwendt
in https://bugzilla.redhat.com/show_bug.cgi?id=1034341#c11 for pointing this
out to me.
Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
https://bugzilla.gnome.org/show_bug.cgi?id=720317
2013-12-12 11:35:41 +00:00
Olivier Crête
8542c4b219
Gst: Add python version of GST_TIME_ARGS
2013-12-03 18:00:38 -05:00
Olivier Crête
d643c9f7ba
Add *.so to gitignore
2013-12-03 17:36:07 -05:00
Simon Farnsworth
2ad767a74c
Update FSF address
...
The FSF has moved since these files were created. Update the address, in
order to keep packaging tools such as rpmlint quiet.
Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
https://bugzilla.gnome.org/show_bug.cgi?id=715182
2013-11-26 15:28:53 +00:00
Sebastian Dröge
25a0d4b8f9
Fix another syntax error with newer Python versions
2013-09-30 13:27:33 +02:00
Sebastian Dröge
d0f12f81c8
configure: Fix typo
2013-09-30 13:07:03 +02:00
Sebastian Dröge
46cab502ef
Fix compilation with Python 3.0
...
Changes partially taken from pygobject.
2013-09-30 12:45:59 +02:00
Sebastian Dröge
cbc99d041a
configure: Fix Python configure checks to work with all Python versions between 2.7 and 3.3
2013-09-30 12:30:43 +02:00