Sebastian Dröge
e45dbc8fd9
ci: Update image version
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1480 >
2024-07-08 09:34:54 +03:00
Sebastian Dröge
f4d3f01d25
Update gir-files
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1480 >
2024-07-08 09:33:31 +03:00
Sebastian Dröge
cae7285013
Update gir
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1480 >
2024-07-08 09:33:18 +03:00
Sebastian Dröge
94313e67c5
gstreamer: Unconditionally use gst_parse_context_copy()
...
It's available since 1.12.1 and the minimum supported version for the
bindings is 1.14 nowadays.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1478 >
2024-07-06 11:21:31 +00:00
Sebastian Dröge
a871f71515
gstreamer: Use obj = x
instead of obj: x
in debug log macros
...
And deprecate the old usage. This gives better tooling support, and
especially allows rustfmt to format the macro body correctly.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/513
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1477 >
2024-07-06 14:08:03 +03:00
Thibault Saunier
426d95bc6a
ges: Add setters to FrameCompositionMeta
...
Some elements might need to modify them
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1475 >
2024-07-03 06:26:57 -04:00
Tomasz Andrzejak
207694ca6c
Add libmysofa-dev to CI image
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1473 >
2024-07-02 00:32:14 +02:00
Sebastian Dröge
adf3e9236a
gstreamer: childproxy: Include child property name in error message when lookup fails
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1472 >
2024-06-28 12:20:47 +03:00
Sebastian Dröge
7a5096b1e4
gstreamer: clock: Manually implement bindings for calibration related function
...
The rate is using two clock times in C but this is really just a u64.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1470 >
2024-06-21 16:34:27 +03:00
Marijn Suijten
cfb0fe6a17
examples: Add Windows support to glupload
...
WGL does not have the concept of a `Display` connection, presumably
because there's always only one compositor active. All interop
and sharing is happening from the `Context` afterwards.
After all `glutin` doesn't have a pointer inside `RawDisplay::Wgl`,
and upstream `gstreamer` code creates a dummy display on Win32.
WINRT is not taken into account & tested yet.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1468 >
2024-06-20 21:36:42 +02:00
Sebastian Dröge
f3d7e18bcd
Update to system-deps 7
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1469 >
2024-06-20 20:58:27 +03:00
Sebastian Dröge
cd9f38135f
Update gir
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1469 >
2024-06-20 20:57:58 +03:00
Sebastian Dröge
53ede03b3b
Update CHANGELOG.md for 0.22.6
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1467 >
2024-06-19 20:51:31 +03:00
Sebastian Dröge
45ec7cedd9
Use Option::is_some_and(...)
instead of Option::map_or(false, ...)
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1466 >
2024-06-19 11:17:58 +03:00
Sebastian Dröge
84ea10dc73
Update Minimum Supported Rust Version to 1.71.1
...
Because cea608-types actually wants 1.71.1 and not just 1.71.0.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1465 >
2024-06-18 10:36:18 +03:00
Sebastian Dröge
a978f6d942
Update Cargo.lock
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1464 >
2024-06-18 08:52:15 +03:00
Sebastian Dröge
87c16d8f9f
Update Minimum Supported Rust Version to 1.71
...
cea608-types that is needed by gst-plugins-rs requires 1.71 now.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1464 >
2024-06-18 08:51:35 +03:00
Sebastian Dröge
5ea912d702
Update to new clone macro syntax
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1463 >
2024-06-17 17:41:21 +03:00
Sebastian Dröge
0be8b364f8
Update Cargo.lock
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1462 >
2024-06-17 08:38:13 +03:00
Sebastian Dröge
c21da79eac
examples: Update to windows 0.57
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1462 >
2024-06-17 08:37:46 +03:00
François Laignel
8527c0e39e
Add new setters for collection Value setters in Builders
...
E.g. (also applies to `property`):
* `field_from_iter()`,
* `field_if_not_empty()`.
Use a macro to factorize implementation & documentation of `field` / `property`
convenience setters.
Also:
* add some `*_if_not_empty` for some iterator based setters.
* add `*_if` for predicate based setters.
Related to https://github.com/gtk-rs/gtk-rs-core/pull/1377
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1431 >
2024-06-14 17:00:36 +02:00
Sebastian Dröge
e4e5cfd63b
ci: Update to Rust 1.79
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1461 >
2024-06-14 08:08:54 +03:00
Sebastian Dröge
f99c519a00
Fix various new 1.79 clippy warnings
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1461 >
2024-06-14 08:08:27 +03:00
Sebastian Dröge
6bab9de772
gstreamer: Actually re-export ByteSliceExt trait from prelude instead of the Dump struct
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1460 >
2024-06-12 19:35:55 +03:00
Sebastian Dröge
6a8e8055b9
ci: Rebuild image for GStreamer update to fix tests
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1459 >
2024-06-12 07:48:10 +03:00
Sebastian Dröge
1970a043d4
pbutils: Add missing/install plugins API bindings
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1458 >
2024-06-11 11:13:44 +03:00
Sebastian Dröge
7c87874c28
gstreamer: Add bindings for generic message details API
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1457 >
2024-06-11 10:18:08 +03:00
Sebastian Dröge
b59a92b29e
Regenerate with latest gir
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1457 >
2024-06-11 08:29:32 +03:00
Sebastian Dröge
e1a387229c
Update GStreamer gir files
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1457 >
2024-06-11 08:29:32 +03:00
Sebastian Dröge
3888f65e4d
Update gir-files
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1457 >
2024-06-11 08:29:32 +03:00
Sebastian Dröge
50b941ecfc
Update gir
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1457 >
2024-06-11 08:29:32 +03:00
Sebastian Dröge
60302732f3
Update Cargo.lock
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1457 >
2024-06-11 07:18:03 +03:00
Sebastian Dröge
259066e5b1
ci: Update to meson 1.4.1
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1457 >
2024-06-11 07:17:24 +03:00
Sebastian Dröge
c593ae5cfc
ci: Update to dav1d 1.4.2
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1457 >
2024-06-11 07:16:24 +03:00
Sebastian Dröge
ea16222625
ci: Update image version to update GStreamer
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1457 >
2024-06-11 07:16:11 +03:00
Sebastian Dröge
d8b7356f3d
Update Cargo.lock
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1455 >
2024-06-07 19:27:03 +03:00
Bilal Elmoussaoui
bc96d439d0
Adapt to removed alias config for enum members
...
As it does the same thing as ignore
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1452 >
2024-06-07 10:15:53 +00:00
Bilal Elmoussaoui
e6ed67cbc5
Regenerate with properties annotations supports
...
Removes some duplicated getters/setters
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1452 >
2024-06-07 10:15:53 +00:00
Bilal Elmoussaoui
8a3ea1192d
Update gir submodule
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1452 >
2024-06-07 10:15:53 +00:00
Matthew Waters
b045708353
ci: run tests with RUST_BACKTRACE=1
...
Produces backtraces which would allow some initial debugging on hard to
find issues.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1454 >
2024-06-06 11:55:37 +00:00
Tim-Philipp Müller
c545154472
log: fix panic when using a log id with a formatted log message
...
Would panic because of a missing NUL terminator:
thread '<unnamed>' panicked at .. glib/src/gstring.rs:61:9:
assertion failed: !bytes.is_empty() && bytes[bytes.len() - 1] == 0
3: glib::gstring::GStr::from_utf8_with_nul_unchecked
4: gstreamer::log::DebugCategory::log_id_unfiltered_internal
at gstreamer-rs/gstreamer/src/log.rs:465
5: gstreamer::log::DebugCategory::log_id_unfiltered
at gstreamer-rs/gstreamer/src/log.rs:425
Also enable logging on the category, so the logging code paths
are actually run here in the tests.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1451 >
2024-06-02 17:32:26 +03:00
Bilal Elmoussaoui
b20ea25147
gst-audio: Add missing doc alias
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1450 >
2024-06-02 11:20:55 +02:00
Bilal Elmoussaoui
4ebec84f5e
Adapt to no longer renamed ffi crates
...
Allows us to set all the crates in the main workspace file, so changing
their versions or branch is much simpler and reduce the amount of noise
in the diff
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1450 >
2024-06-02 11:20:55 +02:00
Bilal Elmoussaoui
10aff0d66e
Regenerate with latest gir
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1450 >
2024-06-01 15:14:58 +02:00
Bilal Elmoussaoui
9d3ec9da53
Update gir submodule
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1450 >
2024-06-01 15:13:26 +02:00
Sebastian Dröge
413a6baa8c
Update CHANGELOG.md for 0.22.5
2024-05-23 16:06:42 +03:00
Sebastian Dröge
9e2c6268cb
gstreamer: Use usize instead of u32 for various indices
...
This affects buffers, caps, caps features, structures and tag lists and
makes it easier to use them with other Rust APIs that use usize-based
indicing.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1445 >
2024-05-22 08:15:08 +00:00
Tim-Philipp Müller
4cda565a39
gstreamer: bufferlist: add another test for foreach_mut
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1446 >
2024-05-22 06:59:40 +00:00
Sebastian Dröge
805cd6c591
gstreamer: bufferlist: Change remove function to take a range instead of index + length
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1444 >
2024-05-21 08:21:17 +03:00
Sebastian Dröge
a0e58ec359
gstreamer: bufferlist: Check index/length when removing a buffer
...
Out of range values give assertions in the C function.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1444 >
2024-05-21 08:19:30 +03:00