summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-01-17Release 1.15.11.15.1Tim-Philipp Müller6-57/+1240
2019-01-09overrides: add a set_caps() method to the Pad overrideAntonio Ospite1-0/+16
The C API provides the gst_pad_set_caps() helper which makes it easier to set caps on pads (see gst/gstcompat.h in gstreamer core). Add such handy helper to the python bindings too. The implementation follows as close as possible the one in gstcompat.h with two changes: 1. the type check on the pad has been removed because self is guaranteed to be a Gst.Pad in python. 2. the null check on the caps has been extended to be a type check. Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/issues/19
2018-12-30autogen.sh: update to match updated common submoduleTim-Philipp Müller1-52/+67
Unbreaks the autotools build and fixes #15.
2018-12-15Fix indentation of .c filesTim-Philipp Müller2-26/+29
Required to make gst-indent linter on CI happy.
2018-12-05Update common submoduleThibault Saunier1-0/+0
2018-11-12Add Gitlab CI configurationJordan Petridis1-0/+1
This commit adds a .gitlab-ci.yml file, which uses a feature to fetch the config from a centralized repository. The intent is to have all the gstreamer modules use the same configuration. The configuration is currently hosted at the gst-ci repository under the gitlab/ci_template.yml path. Part of https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/29
2018-11-05Update git locations to gitlabMatthew Waters2-3/+3
2018-10-31Tests: the sys.meta_path trick does not work for python2Mathieu Duponchelle1-1/+7
Instead, for python2 revert to manipulating gi.overrides.__path__
2018-10-31Tests: refactor testing approachMathieu Duponchelle5-41/+32
Instead of fiddling with sys.path, we instead use a custom sys.meta_path importer
2018-10-31meson: address python module port commentsMathieu Duponchelle2-22/+6
2018-10-28meson: use new python moduleHavard Graff7-124/+41
This patch makes the tests pass running uninstalled and installed, with python2 and python3 on linux, windows and osx. The main gist is to use the new python-module to do the lifting done by pythondetector, and with that add support for python2 and windows.
2018-10-28automake: remove __init__.py'sMathieu Duponchelle2-3/+1
2018-10-28Remove __init__.py filesMathieu Duponchelle2-32/+0
They were not installed, and were simply used for our uninstalled setup, which we now implement differently.
2018-10-27meson: add pygobject fallbackMathieu Duponchelle1-1/+1
2018-07-29Examples: add audiotestsrc plugin exampleMathieu Duponchelle2-1/+193
2018-07-29Examples: add audioplot plugin exampleMathieu Duponchelle2-0/+247
2018-07-29Examples: add mixer plugin exampleMathieu Duponchelle3-0/+117
2018-07-20examples: add a dynamic pipeline exampleMathieu Duponchelle1-0/+90
2018-07-20helloworld: fix typoMathieu Duponchelle1-1/+1
2018-05-14gstmodule: fix warning when building against python2Havard Graff1-1/+1
PyMapping_GetItemString’ discards ‘const’ qualifier from pointer target type https://bugzilla.gnome.org/show_bug.cgi?id=796093
2018-05-01Fix distcheckTim-Philipp Müller1-1/+0
2018-05-01meson: drop config.h.meson templateTim-Philipp Müller2-14/+2
2018-04-25Bump pygobject dependency to 3.8Thibault Saunier2-2/+2
2018-04-25overrides: use get_introspection_moduleEmilio Pozuelo Monfort2-4/+5
https://bugzilla.gnome.org/show_bug.cgi?id=795555
2018-04-07overrides: Fix mixup between query function and chain oneThibault Saunier1-1/+1
2018-04-03Dist autogen.sh and configure.acTim-Philipp Müller1-0/+2
2018-03-20Back to developmentTim-Philipp Müller4-1079/+67
2018-03-19Release 1.14.01.14.0Tim-Philipp Müller6-63/+203
2018-03-13Release 1.13.911.13.91Tim-Philipp Müller6-39/+915
2018-03-03Release 1.13.901.13.90Tim-Philipp Müller6-116/+416
2018-02-23configure.ac: Don't use runtime location of overrides by defaultEdward Hervey1-4/+0
If someone wants to put the overrides in a non-standard location, they can use the --with-pygi-overrides-dir option. The default is to put them in ${pyexecdir}/gi/overrides Fixes make distcheck https://bugzilla.gnome.org/show_bug.cgi?id=793756
2018-02-22makefiles: Add missing dist filesNicolas Dufresne4-4/+14
https://bugzilla.gnome.org/show_bug.cgi?id=793560
2018-02-22bitmask: Do not use long() directly with python3Thibault Saunier2-1/+5
It doesn't exist anymore there
2018-02-22gi: Check Gst has not been initialized before loading bindingsThibault Saunier1-1/+2
It can have been initialized by some C code (in a C app with plugins for example). Fixes https://bugzilla.gnome.org/show_bug.cgi?id=788088
2018-02-22Allow Bitmask to be created from ints and longs but always store as longSebastian Dröge2-4/+4
We need a 64 bit integer, and previously the test failed because it was already created from longs in various cases (e.g. when reading from a GstStructure).
2018-02-15Back to developmentTim-Philipp Müller2-3/+3
2018-02-15overrides: accept Gst.Structure in Caps.__new__Mathieu Duponchelle1-7/+16
Also rename misleading parameter (*kwargs -> *args) https://bugzilla.gnome.org/show_bug.cgi?id=793493
2018-02-15Release 1.13.11.13.1Tim-Philipp Müller4-622/+112
2018-02-14Print Python version after initializationSebastian Dröge1-0/+2
2018-02-14pluginloader: Print Python library path that is tried to be loadedSebastian Dröge1-4/+4
2018-01-23Ship meson build system in autotools generated tarballsSebastian Dröge5-1/+16
2017-08-03meson: Fix detection of overrides path in some casesThibault Saunier2-4/+10
2017-07-29plugin: Always initialize GIL stateThibault Saunier1-1/+1
gcc warns about possibly unintialized use of it (even if it can't actually happen)
2017-07-26Fix simply running testsuite in mesonThibault Saunier5-3/+24
- Make sure to never have root folder in sys.path when running meson, as pythondetector won't be able to access gi._overridesdir - Generate a mesonconfig.py file that will be used by the testsuite to know where meson generated files, making `python -m unittest` working.
2017-07-26Add support for Gst.BitmaskThibault Saunier3-1/+67
2017-07-26tests: Stop using deprecated assertion methodsThibault Saunier1-82/+82
2017-07-26tests: Move all Fundamental types tests in a fileThibault Saunier10-552/+382
No reason to have one file per type and it makes it more complicated to handle.
2017-07-26structure: Add a .keys() method and implement __str__Thibault Saunier1-0/+16
We are making it behave like a dict, so we should provide the same kind of utilities.
2017-07-26Return a Gst.*Range instead of a python range converting from GValue to pythonThibault Saunier2-2/+32
Otherwise we lose the information about what type of range it is, which is mandatory, especially when dealing with Structure and Caps.
2017-07-26structures: Override __new__ to make it more pythonicThibault Saunier2-0/+31