Thibault Saunier
|
fa4f45b8d3
|
python: Add a Gst.init_python function to be called from plugins
Plugins know that they will be initialized after Gst was initialized
so they can call the initialization function dedicated for the python
bindings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2737>
|
2022-07-08 20:02:04 +01:00 |
|
Thibault Saunier
|
f50c68d4e2
|
python: Do not call gst_init when it is already is_initialized
GStreamer plugins written in python need to call `Gst.init` to ensure
that GStreamer is initialized so when loading a python plugin, we might
be recursively calling `gst_init` which is not a good idea.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/940
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2737>
|
2022-07-08 20:02:04 +01:00 |
|
Mathieu Duponchelle
|
19086d693e
|
gst-python: gstmodule.c: fix build with 3.11
https://docs.python.org/fr/3.10/whatsnew/3.10.html
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1910>
|
2022-03-09 18:36:21 +00:00 |
|
Mathieu Duponchelle
|
830d1595b9
|
VideoInfo, AudioInfo: fix usage with python bindings
* Expose an actual constructor from caps
* Error out in overrides for code that was using the "manual
allocation" pattern which only worked by chance. Direct
the script writer to the new_from_caps constructor instead.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/-/issues/47
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1571>
|
2022-01-27 08:36:46 +00:00 |
|
Thibault Saunier
|
f95f63c5af
|
python: Avoid treating float as int
Since python 3.10 implicit conversion to integers using `__int__` as
been completely removed (was deprecated behavior in 3.9) so we need
to cleanly handle it now.
See https://gitlab.gnome.org/GNOME/pitivi/-/issues/2589
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1358>
|
2021-11-18 00:19:46 +00:00 |
|
Thibault Saunier
|
3729704132
|
gst: Fix license headers and add SPDX
Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/-/issues/57
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1351>
|
2021-11-15 22:12:09 -03:00 |
|
Thibault Saunier
|
24c6e49874
|
Move files from gst-python into the "subprojects/gst-python//" subdir
|
2021-09-24 16:16:05 -03:00 |
|