Jan Schmidt
df7e8db84c
python: Add a GstTagList override
...
Add an override that makes a GstTagList act like a dict
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5187 >
2023-08-21 17:16:27 +00:00
Nicolas Dufresne
60afc6cc95
python: Fix variable name for gst_element_factory_make
...
In order to use keyword argument, the names shoudl match the documentation. Both
arguments name was changed in the override.
Fixes : #2779
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4982 >
2023-07-11 14:39:30 +00:00
Nirbheek Chauhan
b87aaf4d28
python: More functions can be called before gst_init()
...
Configuration of our debugging system is possible before init, and in
fact is necessary too, otherwise the settings won't apply to logging
that happens during init.
For instance, since you cannot register a log function before you call
init in python, there is no way for you to log errors during init to
whatever logging service your app uses.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4753 >
2023-06-02 13:25:23 +00:00
Nirbheek Chauhan
62951ed379
python: auto-pep8 whitespace issues in overrides
...
Needed because the next commit edits this file.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4753 >
2023-06-02 13:25:23 +00:00
Mathieu Duponchelle
2b4dca84dd
gst-python: overrides: provide default to Gst.init()
...
Allows using Gst.init() as without the overrides, can be convenient.
Fixes: https://gitlab.freedesktop.org/gstreamer/gst-python/-/issues/51
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4692 >
2023-05-25 16:32:44 +00:00
Thibault Saunier
fab64c0b3a
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/2675 >
2022-07-08 14:37:14 +00:00
Thibault Saunier
37366ff2f4
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/2675 >
2022-07-08 14:37:14 +00:00
Thibault Saunier
904bb001c5
python: Add support for the GstURIHandlerInterface
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1423 >
2022-03-28 11:25:24 +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