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
Thibault Saunier
11d1e09f99
Back to development
2013-09-28 21:07:47 +02:00
Thibault Saunier
9a258908b3
Release 1.1.90
2013-09-28 20:48:40 +02:00
Andoni Morales Alastruey
20860bc633
configure: fail if pygobject is not found
...
https://bugzilla.gnome.org/show_bug.cgi?id=706853
2013-08-26 19:12:01 -04:00
Thibault Saunier
9d1666ad07
Gst: Do not initialize Gst at init
...
Letting the user choose when to initialize it himself
2013-08-26 17:35:48 -04:00
Thibault Saunier
ab5ea83026
todo: Update the todo
2013-08-23 23:19:18 -04:00
Thibault Saunier
63c2d4b01a
Disable examples amd testsuite as long as they have not been ported
2013-08-23 23:15:12 -04:00
Thibault Saunier
637fdac676
overrides: Force symlinks when making
...
Making make distcheck pass
2013-08-23 22:01:46 -04:00
Thibault Saunier
2ac104ea94
gstmodule: Check that we could retrieve the module before using it
...
And plug a small leak
2013-08-23 21:49:12 -04:00
George McCollister
cfa8710b7b
configure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
...
AM_CONFIG_HEADER was removed in automake 1.13
https://bugzilla.gnome.org/show_bug.cgi?id=693367
2013-02-07 23:27:56 +00:00
Mark Nauwelaerts
5a08c1ba41
overrides: symlink some more to use uninstalled out-of-source build
2012-12-30 16:11:30 +01:00
Thibault Saunier
827a137189
overrides: implement Gst.Structure.__setitem__
2012-12-07 14:18:21 -03:00
Alessandro Decina
33d57f045a
overrides: implement Gst.Structure.__getitem__
2012-11-22 07:11:45 +01:00
Alessandro Decina
02ca5d3ad2
overrides: move add(*args) override from Gst.Pipeline to Gst.Bin
2012-11-04 17:02:24 +01:00
Alessandro Decina
d6c8df0352
overrides: move the Gst.Pad override before Gst.GhostPad
...
...else gi will screw up the type hierarchy and GhostPad will inherit from the
non-overridden Gst.Pad. Got it?
2012-11-04 17:00:14 +01:00