Commit graph

1338 commits

Author SHA1 Message Date
Thibault Saunier
08d0d09fbd Play nicely with gst-build uninstalled
As overrides_hack is being used as user sitecustomize script
2016-11-04 11:40:10 -03:00
Thibault Saunier
490028ba21 meson: Add testsuite 2016-11-04 11:40:10 -03:00
Tim-Philipp Müller
21f8b168d3 meson: update version 2016-11-01 18:12:33 +00:00
Sebastian Dröge
906bb35360 Back to development 2016-11-01 18:53:15 +02:00
Sebastian Dröge
1581310200 Release 1.10.0 2016-11-01 18:06:58 +02:00
Thibault Saunier
d680386ab0 meson: use the version keyword argument for dependencies version 2016-10-19 14:47:07 -03:00
Marianna Smidth Buschle
a9cc3ed6f2 examples: Added identity example
Created a simple BaseTransform element (identity)

https://bugzilla.gnome.org/show_bug.cgi?id=772853
2016-10-17 10:03:13 +02:00
Thibault Saunier
b7a78a37dc meson: Setup pre-commit hooks when configuring 2016-09-30 11:39:21 -03:00
Sebastian Dröge
329c3faf90 Release 1.9.90 2016-09-30 13:04:26 +03:00
Sebastian Dröge
a7eebda2ae meson: Add a workaround for finding the Python library on Fedora 2016-09-14 15:18:17 +02:00
Sebastian Dröge
1b60fedc31 meson: Fix pythondetector on Debian and use sysconfig for getting the ABIFLAGS too
Paths like /usr/lib/python3.5/config-3.5m-x86_64-linux-gnu would not be
detected by the old code, but it's all nicely stored in sysconfig so
let's just use that.
2016-09-14 13:42:49 +02:00
Sebastian Dröge
2f0bd77249 configure: Depend on gstreamer 1.9.2.1 2016-09-14 11:31:32 +02:00
Thibault Saunier
0f98e1ff44 meson: Search python shared lib in lib64/ if it is a directory 2016-09-13 15:17:41 -03:00
Thibault Saunier
b5e834df90 build: Remove unused variables 2016-09-05 12:52:46 -03:00
Thibault Saunier
16f971226d Add support for Meson as alternative/parallel build system
https://github.com/mesonbuild/meson
2016-09-05 12:13:03 -03:00
Sebastian Dröge
df995fad7b Back to development 2016-09-01 12:31:53 +03:00
Sebastian Dröge
ffbb6a65f0 Release 1.9.2 2016-09-01 12:31:42 +03:00
Sebastian Dröge
fb9bbd83ff Back to development 2016-07-06 13:54:19 +03:00
Sebastian Dröge
83def05ad5 Release 1.9.1 2016-07-06 13:38:12 +03:00
Sebastian Dröge
be4bf83b9c Back to development 2016-03-24 13:34:28 +02:00
Sebastian Dröge
8bf58f1bb5 Release 1.8.0 2016-03-24 13:03:02 +02:00
Sebastian Dröge
0bf0e6f7e6 Release 1.7.91 2016-03-15 12:34:35 +02:00
Sebastian Dröge
f783017629 Release 1.7.90 2016-03-01 18:53:59 +02:00
Hanno Boeck
58c324e0cc NULL-terminate PyMethodDef array
PyMethodDef arrays are supposed to end with an entry full of NULL/0 values.
This is missing in gst-python in the file gstmodule.c.

This causes out of bounds memory reads which can be seen / tested by compiling
gst-python with address sanitizer (-fsanitize=address in CFLAGS/LDFLAGS).

https://bugzilla.gnome.org/show_bug.cgi?id=762766
2016-02-27 13:52:07 +02:00
Tim-Philipp Müller
b2077dcfab win32: remove outdated build cruft
This hasn't been touched for generations, doesn't work,
and is just causing confusion. We also don't want to
maintain these files manually.
2016-02-21 10:46:24 +00:00
Thibault Saunier
eb043251ee Fix bug when checking template object type 2016-02-20 21:47:09 +01:00
Sebastian Dröge
96aaedf8b9 Back to development 2016-02-19 12:38:49 +02:00
Sebastian Dröge
53934de37c Release 1.7.2 2016-02-19 12:16:05 +02:00
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