Commit graph

10 commits

Author SHA1 Message Date
Piotr Brzeziński
601e31fe6e queuearray: Add sorting and sorted pushing
Adds gst_queue_array_sort for sorting and gst_queue_array_push_sorted{,struct} for pushing in a sorted order.
All three functions accept a comparison GCompareDataFunc along with optional user_data to pass to it.

In gst_queue_array_sort a small workaround was needed to correctly sort non-struct arrays. Like what _find() already
does, we need to dereference our pointers first, to make sure we can use the same comparison functions everywhere.
This is done via a small wrapper around the provided comparison function.
The array can also wrap around (tail ends up 'before' the head), in which case we have to reorder the array (similar to
what do_expand() does) to then be able to use an existing sorting function, like g_qsort_with_data().

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5112>
2023-08-16 06:54:55 +00:00
Thibault Saunier
b14e675a27 gir: Checkout all .gir files and check that they are updated on the CI
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3010>
2023-04-22 09:32:32 -04:00
Thibault Saunier
9f659233ea Move files from gstreamer-sharp into the "subprojects/gstreamer-sharp/" subdir 2021-09-24 16:16:29 -03:00
Olivier Crête
1209ab54f3 Update bindings 2020-11-20 17:09:58 -05:00
Olivier Crête
2cdb1e714d Update bindings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-sharp/-/merge_requests/25>
2020-10-16 16:29:42 -04:00
Olivier Crête
dbae3e3ff0 Update bindings to 1.18
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-sharp/-/merge_requests/25>
2020-10-16 16:21:17 -04:00
Thibault Saunier
c70e5494b3 Update GStreamer 2020-06-17 21:16:40 -04:00
Tim-Philipp Müller
6ad219d5f9 Release 1.16.0 2019-04-19 02:00:33 +01:00
Thibault Saunier
9f1fac402e Update GStreamer with latest master
List of files in sources/meson.build is now aphabetically ordered.
2019-02-25 13:36:36 -03:00
Thibault Saunier
d3ad9cdfe4 Checkout gir files 2018-06-05 10:33:49 -04:00