summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-09-23Release 1.19.2HEAD1.19.2masterdiscontinued-for-monorepoTim-Philipp Müller5-13/+42
2021-06-01Back to developmentTim-Philipp Müller1-1/+1
2021-06-01Release 1.19.11.19.1Tim-Philipp Müller5-1992/+133
2021-05-11Fixed meson.build to correctly use libdirStirling Westrup1-3/+7
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/45>
2020-11-12gstreamer-full: plugin can be registered statically.Stéphane Cerveau2-3/+11
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/43>
2020-10-08macOS: Fix plugin link with Python 3.8Andoni Morales Alastruey1-6/+1
see: https://gitlab.freedesktop.org/gstreamer/gst-python/-/issues/28 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/42>
2020-09-08ci: include template from gst-ci master branch againTim-Philipp Müller1-1/+1
2020-09-08Back to developmentTim-Philipp Müller1-2/+2
2020-09-08Release 1.18.01.18.0Tim-Philipp Müller6-71/+2096
2020-08-24Fix distcheck by setting up overrides in plugin initThibault Saunier1-0/+17
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/40>
2020-08-20Release 1.17.901.17.90Tim-Philipp Müller5-42/+80
2020-08-14overrides: Fix buffer API breakThibault Saunier1-11/+19
When introducing zero copy buffers/memory mapping we broke the API, this brings back the exact same API as before for all the previously handled cases but still raises an exception when using a context to map buffers. Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/-/issues/40 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/39>
2020-07-23overrides: memory and buffer unmap code can be sharedJose Quaresma1-71/+66
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/35>
2020-07-10overrides: _remap: refactor to avoid memory leaks with PyObjectJose Quaresma1-22/+49
- unref PyObject on exit with Py_XDECREF - better error handling - free memory view in case of erros Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/34>
2020-07-10Gst.py: raise an error if we can't unmap the memoryJose Quaresma1-1/+2
2020-07-10Gst.py: unref __parent__ on unmap otherwise it cause a memory leakJose Quaresma1-0/+2
2020-07-10overrides: fix memory leak in pyg_boxed_newJose Quaresma1-1/+1
pyg_boxed_new cause a memory leak if it hold a copy of the boxed wrapper and freed when the wrapper is deallocated. use the boxed wrapper value itself and don't hold a copy of the value.
2020-07-03Back to developmentTim-Philipp Müller1-1/+1
2020-07-03Release 1.17.21.17.2Tim-Philipp Müller5-4/+30
2020-06-20Back to developmentTim-Philipp Müller1-1/+1
2020-06-19Release 1.17.11.17.1Tim-Philipp Müller5-1238/+276
2020-04-03Add an example to record audioThibault Saunier1-0/+89
2020-04-03Fix configure python lib detection in macOSAndoni Morales Alastruey1-12/+5
pylib_loc = python.get_variable('LIBPL', '') alreay returns the correct path for python's library dir
2020-02-26gstmodule: Fix reference counts of Py_True and Py_FalseMathieu Duponchelle1-4/+21
When returning those values, extensions must take a new reference. Fixes #33
2020-01-07testsuite: remove cleanupGuillaume Desmottes1-4/+0
It's no longer used.
2020-01-07test: Add test for the plugin loaderOlivier Crête3-0/+102
Fix #8
2020-01-07plugin: Also look at GST_PLUGIN_PATH_1_0Olivier Crête1-2/+6
2019-12-30Do not declare mix declaration and codeThibault Saunier1-10/+10
2019-12-13Fix build with Python 3.8 by also checking for python-3.X-embed.pcSebastian Dröge1-2/+9
Since Python 3.8 the normal checks don't include the Python libraries anymore and linking of the gst-python module would fail. See also https://github.com/mesonbuild/meson/issues/5629 Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28
2019-12-11example: Use do_fill in AudioTestSrc instead of do_createThibault Saunier1-11/+14
With the new mapping API we can efficiently use the ->fill vmethod which is sensibly better.
2019-12-10Subclass Exception for mapping and unmapping errorsThibault Saunier3-26/+46
And minor cleanup in the way errors are handled
2019-12-09tests: Add buffer map/unmap testsPhilipp Zabel1-0/+19
2019-12-09Changes the mapinfo so that the mapped data is writableDaniel Klamt3-0/+359
The Problem is, that in the current state it is not easily possible to edit the buffer data in a gstreamer python element since you get a copy of the real buffer. This patch overrides the mapinfo and the function generating it in a way so that mapinfo.data is now a memoryview pointing to the real buffer. Depending on the flags given for this buffer the memoryview is r/w.
2019-11-28python: Fix type type qualifiers issuesThibault Saunier2-3/+3
2019-11-19Remove python2 supportThibault Saunier3-29/+8
We have notified application developers this would happen a long time ago and python2 is going to be deprecated very soon now, before 1.18 is going to be released.
2019-10-14Remove autotools buildTim-Philipp Müller16-726/+0
2019-09-02overrides: fix callback setter overrides (bis)Mathieu Duponchelle1-22/+19
The previous commit broke those by trying to pass weak refs through pygobject, but we should probably have tested the elements beyond instantiation: weakref.WeakMethod returns a callable, but that callable when called only returns the ephemeral bound method, which is the object we want to call, but pygobject has no support for that. Instead, fix the memory leaks we were going after by decoupling the lifecycle of the callback and that of the pad, by passing functors to pygobject.
2019-08-08overrides: fix callback setter overridesMathieu Duponchelle1-10/+4
Use weakref to avoid leaks, and remove refcount hack as the actual issue has been fixed in pygobject
2019-08-08suppr: Add a supression on wrong jump in python from fedora 30Thibault Saunier1-0/+6
2019-05-26meson: expose plugins variableMathieu Duponchelle1-0/+2
2019-05-06override Element before Bin so we can access element fields of binsThibault Saunier2-15/+23
And add a test See https://gitlab.gnome.org/GNOME/pygobject/issues/325
2019-05-03Gst.py: add high-level helpersMathieu Duponchelle1-0/+36
2019-04-19Back to developmentTim-Philipp Müller3-4/+4
2019-04-19Release 1.16.01.16.0Tim-Philipp Müller6-86/+220
2019-04-11Update TODOLuis de Bethencourt1-1/+1
2019-04-11Release 1.15.901.15.90Tim-Philipp Müller6-46/+90
2019-03-04Back to developmentTim-Philipp Müller4-8/+8
2019-02-26Release 1.15.21.15.2Tim-Philipp Müller6-100/+258
2019-01-30Gst.init() has to be called before GstPbutils is importedThibault Saunier2-34/+43
This makes sure that we do not try to use GstPbutils before Gst is init and in case GstPbutils is imported while Gst is not imported, use the `GstPbutils.pb_utils_init()` function to have the oportunity to initialize the overrides. Not that we also introduce a `GstPbutils.init()` variant because `GstPbutils.pb_utils_init()` is an ugly name.
2019-01-22meson: Re add workarounds to detect libpython pathThibault Saunier2-4/+27
This was removed all together in af4ade37435fcc31c8489f4d7c7496fef5f74b05 "meson: use new python module". And add `-Dlibpython-dir` option for the cases the logic fails.