- Jun 20, 2017
-
-
Sebastian Dröge authored
-
- May 04, 2017
-
-
Sebastian Dröge authored
-
- Apr 27, 2017
-
-
Sebastian Dröge authored
-
- Apr 07, 2017
-
-
Sebastian Dröge authored
-
- Mar 27, 2017
-
-
Nicolas Dufresne authored
This is needed to support matrix. Otherwise, getting a matrix would remove the rows envelopess, which would make the "cast" fails, since it would not know if the internal rows are ValueArray or ValueList. I think reading, modifying and setting back the matrix is an important use case.
-
Nicolas Dufresne authored
This reduces a lot the boiler plate all over. At the same time, use N instead of O when passing PyObject to fix the objects leaks.
-
- Mar 24, 2017
-
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
This patch adds overrides to support IntRange, Int64Range, DoubleRange, FractionRange, Array and List. For integer ranges, it maps this to python 'range'. Gst.IntRange() and Gst.Int64Range() are simple cast to let the underlying code know which GType to use. To set such range in python you will do: structure["range"] = Gst.IntRange(range(0,10,2))) Same for the 64 bit variant. And when you do: r = structure.get_value("range") A range will be returned directly, without the wrapper. For DoubleRange and FractionRange, there is no native support in python. So the usage will be: structure["range"] = Gst.DoubleRange(0,10.0) structure["range"] = Gst.FractionRange(Gst.Fraction(1/30), Gst.Fraction(1/5) When getting this value, Gst.DoubleRange and Gst.FractionRange class are returned. They both have start/stop members. The naming was taken from range type. For Array and List, both uses the native list type, though they can be constructed from any python sequence. So again, the class is just like a cast, to let it pick the right GType and python list are being returned. structure["list"] = Gst.ValueList([1,2,3,4]) structure["array"] = Gst.ValueArray([1,2,3,4) Using string and tuple could also work. Since Gst.ValueList/Array are sequence, you can convert one to the other with: list = Gst.ValueList([1,2,3,4]) array = Gst.ValueArray (list) https://bugzilla.gnome.org/show_bug.cgi?id=753754
-
Thibault Saunier authored
And make sure python detector did not fail https://bugzilla.gnome.org/show_bug.cgi?id=780369
-
- Feb 24, 2017
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
- Feb 21, 2017
-
-
Jan Schmidt authored
-
- Feb 15, 2017
-
-
Thibault Saunier authored
-
- Jan 13, 2017
-
-
Tim-Philipp Müller authored
Adjust meson requirement to same as used in other modules.
-
- Jan 12, 2017
-
-
Sebastian Dröge authored
-
- Dec 16, 2016
-
-
Tim-Philipp Müller authored
-
- Nov 26, 2016
-
-
- Nov 04, 2016
-
-
Thibault Saunier authored
As overrides_hack is being used as user sitecustomize script
-
Thibault Saunier authored
-
- Nov 01, 2016
-
-
Tim-Philipp Müller authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
- Oct 19, 2016
-
-
Thibault Saunier authored
-
- Oct 17, 2016
-
-
Marianna Smidth Buschle authored
Created a simple BaseTransform element (identity) https://bugzilla.gnome.org/show_bug.cgi?id=772853
-
- Sep 30, 2016
-
-
Thibault Saunier authored
-
Sebastian Dröge authored
-
- Sep 14, 2016
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
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.
-
Sebastian Dröge authored
-
- Sep 13, 2016
-
-
Thibault Saunier authored
-
- Sep 05, 2016
-
-
Thibault Saunier authored
-
-
- Sep 01, 2016
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
- Jul 06, 2016
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
- Mar 24, 2016
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-