- Nov 15, 2024
-
-
Jordan Petridіs authored
Originally done in !1591 Was dropped by accident before merging. Part-of: <!1593>
-
Sebastian Dröge authored
Part-of: <!1591>
-
Sebastian Dröge authored
Part-of: <!1591>
-
Sebastian Dröge authored
Part-of: <!1591>
-
Sebastian Dröge authored
Part-of: <!1591>
-
Sebastian Dröge authored
Part-of: <!1591>
-
Sebastian Dröge authored
Part-of: <!1591>
-
Sebastian Dröge authored
Part-of: <!1591>
-
Sebastian Dröge authored
Part-of: <!1591>
-
- Nov 14, 2024
-
-
François Laignel authored
Some builder convenience setters where added to work with `Option`al values. This is the case for the `Pad` builder setter `maybe_name()` which was introduced as part of [this MR]. Then [more convenience setters] were discussed and [it was decided] to use `field_if_some()` instead of `maybe_field()`. Existing `maybe_field()`s were kept for backward compatibility. This commit marks them as deprecated, referring to the matching `field_if_some()`. [this MR]: !1255 [more convenience setters]: #499 [it was decided]: #499 (comment 2364820) Part-of: <!1592>
-
- Nov 13, 2024
-
-
Part-of: <!1586>
-
Part-of: <!1586>
-
It was useless. Part-of: <!1586>
-
We need to be able to keep a reference to the action when we implement async action types so now we can do `action.clone()` and get a hard reference to it. We also need to be able to mutate the structure, it is possible to `get_mut()` on it, get a mutable reference to the structure. There was a bug in the test where we were using a ref to the wrong action object in the async signal which is why we didn't detect the problem. Part-of: <!1586>
-
Part-of: <!1586>
-
Part-of: <!1586>
-
Part-of: <!1586>
-
Also fix the test making proper use of it. Part-of: <!1586>
-
Part-of: <!1586>
-
François Laignel authored
Part-of: <!1531>
-
François Laignel authored
Part-of: <!1531>
-
François Laignel authored
Part-of: <!1531>
-
François Laignel authored
Update Structure API: * Quarks API are deprecated. Methods which were internally calling quarks methods now call C string based methods. * Added new `IdStr` methods. See also: * gstreamer!7432 * gstreamer!7613 * gstreamer!7644 Part-of: <!1531>
-
François Laignel authored
IdStr represents UTF-8 immutable strings which perform optimizations for short strings (< 16 bytes). The C type `GstIdStr` was introduced in GStreamer 1.26 as a replacement for GQuarks. This commit adds Rust bindings for the C type `GstIdStr`. Since this type will be used in API which previously relied on GQuarks, the commit also adds a compatibility implementation which can be used with GStreamer versions prior to 1.26, which is the first version to implement and use `GstIdStr`. The crate [KString] was used as the inner implementation for the compatibility version as it performs similar optimizations as `GstIdStr` and uses the same threshold to trigger heap allocation. See also: gstreamer!7432 [KString]: https://crates.io/crates/kstring Part-of: <!1531>
-
François Laignel authored
Part-of: <!1531>
-
François Laignel authored
Part-of: <!1531>
-
François Laignel authored
Part-of: <!1531>
-
François Laignel authored
GStreamer 1.24 added `GST_OBJECT_FLAG_CONSTRUCTED`, so `ObjectFlags::all()` returns a different set depending on the version feature. Part-of: <!1590>
-
- Nov 12, 2024
-
-
Sebastian Dröge authored
Part-of: <!1589>
-
Sebastian Dröge authored
Part-of: <!1582>
-
Sebastian Dröge authored
Part-of: <!1549>
-
- Nov 07, 2024
-
-
François Laignel authored
Same as for BufferList::foreach*. Part-of: <!1584>
-
François Laignel authored
Part-of: <!1584>
-
François Laignel authored
Part-of: <!1584>
-
François Laignel authored
If we really wanted to return a value, we would use `ControlFlow`. In Rust, if we need to inform the caller that processing has stopped, we'd rather do this by updating a variable from within the `func`. Part-of: <!1584>
-
François Laignel authored
Part-of: <!1585>
-
François Laignel authored
Part-of: <!1585>
-
François Laignel authored
Part-of: <!1585>
-
- Nov 06, 2024
-
-
Sebastian Dröge authored
Part-of: <!1583>
-
Sebastian Dröge authored
Part-of: <!1583>
-