Thibault Saunier
|
515bf888a9
|
python: Make use of the new structure.is_writable method
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9027>
|
2025-05-25 15:16:37 +02:00 |
|
Thibault Saunier
|
f0e1591111
|
python: Add overrides for Buffer/Query/Event/Context to handle writability
And make them look more like proper MiniObject
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9027>
|
2025-05-25 15:16:37 +02:00 |
|
Thibault Saunier
|
0201423142
|
python: Factor out a MiniObject class that all mini object will be based on
Making the API closer to what it should be as Caps are MiniObject
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9027>
|
2025-05-25 15:16:37 +02:00 |
|
Thibault Saunier
|
da9365176b
|
python: Add a Caps.get_value variant that does not copy the structures
Keeping the __getitem__ implementation the same way
This also now make structure.set_value() raise an exception if the structure
was not writable
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9027>
|
2025-05-25 15:16:37 +02:00 |
|
Thibault Saunier
|
c3d2209c1f
|
python: Add overrides to be able to write into the GstStructure inside GstCaps
Add Python bindings for allowing to modify GstCaps structures with proper
writability checks.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9027>
|
2025-05-25 15:16:37 +02:00 |
|
Gwyn Ciesla
|
2be13c82aa
|
gst-python: Fix API call for Python 3.13
_PyUnicode_AsString() is deprecated and PyUnicode_AsUTF8() should be used
instead. The new function was introduced in Python 3.3 and returns const
since Python 3.7, which is now required.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5587>
|
2023-11-03 21:02:48 +05:30 |
|
Jan Schmidt
|
627a956768
|
python: Fix python plugins that implement URIHandler
Ensure the generated URI strv list is NULL terminated in the python
binding
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5187>
|
2023-08-21 17:16:26 +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 |
|
Mathieu Duponchelle
|
b6ffad41ca
|
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/1639>
|
2022-03-09 18:13:25 +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
|
24c6e49874
|
Move files from gst-python into the "subprojects/gst-python//" subdir
|
2021-09-24 16:16:05 -03:00 |
|