Commit graph

3324 commits

Author SHA1 Message Date
Sebastian Dröge
24a00b9929 pbutils: Manually implement DiscovererStreamInfo::stream_id()
It can return `NULL` in some cases. The next release will use an
`Option` but to keep backwards compatibility here, `NULL` is mapped to
the empty string for now.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1274>
2023-06-06 14:33:44 +03:00
Daniel Pendse
545781d241 rtsp-server: Add RTSPContext uri getter
Add uri getter from RTSPContext

Fix #469

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1274>
2023-06-06 14:03:42 +03:00
Sebastian Dröge
011d3535bc gstreamer: Only retrieve the debug category once per log call
Each retrieval would go through the one-time-initialization check, i.e.
yet another branch, so let's avoid that.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1274>
2023-06-06 13:56:25 +03:00
Sebastian Dröge
0d45fa3f07 gstreamer: Remove unnecessary clone() in debug logging macros
The macro called from them is already doing the `clone()` itself.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1274>
2023-06-06 13:56:19 +03:00
Sebastian Dröge
a7517cd27b gstreamer: Use temporary GStr for the debug category constructors
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1274>
2023-06-06 13:56:10 +03:00
Sebastian Dröge
670d8ceec6 gstreamer: Mark DebugCategory as repr(transparent)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1274>
2023-06-06 13:56:02 +03:00
Sebastian Dröge
b0d6cab254 examples: Update to memmap2
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1274>
2023-06-06 13:55:50 +03:00
Sebastian Dröge
371713a506 Update Cargo.lock
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1261>
2023-05-10 11:49:35 +03:00
Sebastian Dröge
a01a0f2e37 gstreamer: Get function name for logging outside the internal closure
Otherwise the function name will include the name of the closure.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1261>
2023-05-10 11:49:16 +03:00
Sebastian Dröge
50ec192285 Update Cargo.lock 2023-04-22 11:52:30 +03:00
Sebastian Dröge
022a340742 Update versions to 0.20.5 2023-04-22 11:49:53 +03:00
Sebastian Dröge
42ec126d56 Update CHANGELOG.md for 0.20.5 2023-04-22 11:49:23 +03:00
Guillaume Desmottes
ff488987fa gstreamer: fix unused import in test
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1252>
2023-04-21 12:19:48 +03:00
Sebastian Dröge
97d55cdacb Update Cargo.lock
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1252>
2023-04-21 12:08:48 +03:00
Sebastian Dröge
b611f9702c Fix a couple of new Rust 1.69 clippy warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1252>
2023-04-21 12:07:26 +03:00
Thibault Saunier
8d478c3fc9 miniobject: Implement the HasParamSpec trait in the macro
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1252>
2023-04-21 12:07:21 +03:00
Bilal Elmoussaoui
4a60c71c84 gst-player: Implement Default for Player
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1252>
2023-04-21 12:07:12 +03:00
Sebastian Dröge
3481f3b6c0 Update Cargo.lock 2023-04-07 13:06:40 +03:00
Sebastian Dröge
6fb1714114 Update versions to 0.20.4 2023-04-07 13:03:23 +03:00
Sebastian Dröge
78ded9ad88 Update CHANGELOG.md for 0.20.4 2023-04-07 13:02:41 +03:00
Sebastian Dröge
b72533d926 Update Cargo.lock
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1245>
2023-04-07 12:02:13 +03:00
Sebastian Dröge
e9644fb733 examples: Update to windows 0.48
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1245>
2023-04-07 12:02:13 +03:00
Sebastian Dröge
7d9b7fdaf7 examples: Update to windows 0.47
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1245>
2023-04-07 12:02:13 +03:00
Sebastian Dröge
43f29e361e examples: Update to windows 0.46
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1245>
2023-04-07 12:02:13 +03:00
Sebastian Dröge
a929123d4d deny: Update for older versions of the windows bindings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1245>
2023-04-07 12:02:01 +03:00
Sebastian Dröge
1d9d4cc346 deny: Update to allow multiple versions of syn for now
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1245>
2023-04-07 12:02:01 +03:00
Sebastian Dröge
64bc1f7625 webrtc: Work around WebRTCICE::add_candidate() API breakage in 1.24
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1245>
2023-04-07 11:55:10 +03:00
Sebastian Dröge
87a70b16ba audio: Don't store a copy of the AudioInfo in AudioFrame
Instead just reference the one inside the FFI struct directly by making
sure that the memory representation of the FFI and Rust type are the
same.

This reduces the size of `AudioFrame` by about half.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1245>
2023-04-07 11:52:08 +03:00
Sebastian Dröge
5c88d95553 video: Don't store a copy of the VideoInfo in VideoFrame
Instead just reference the one inside the FFI struct directly by making
sure that the memory representation of the FFI and Rust type are the
same.

This reduces the size of `VideoFrame` by about half.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1245>
2023-04-07 11:52:08 +03:00
Sebastian Dröge
a9dd58eca0 Update Cargo.lock 2023-03-14 13:16:14 +02:00
Sebastian Dröge
55ad90cc4d Update versions to 0.20.3 2023-03-14 13:15:57 +02:00
Sebastian Dröge
deb49017ec Update CHANGELOG.md for 0.20.3 2023-03-14 13:15:43 +02:00
Guillaume Desmottes
9102546d63 utils: streamproducer: document forward_eos default value
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1238>
2023-03-13 10:06:10 +01:00
Sebastian Dröge
f431630426 deny: Allow older windows-sys 0.42 for now
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1238>
2023-03-13 10:06:06 +01:00
Sebastian Dröge
6ef6f49e40 video: Fix two new clippy warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1238>
2023-03-13 10:06:06 +01:00
Marc Wiblishauser
18cbbfb1f8 ParamSpecArray: fix type_ from fraction to array
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1238>
2023-03-13 10:05:58 +01:00
Sebastian Dröge
cb6b7a2c2c rtsp-server: Work around GstRTSPClientClass ABI breakage in 1.18
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/455

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1238>
2023-03-13 10:05:58 +01:00
Sebastian Dröge
f0e766e7ee ci: Build 0.20 docs and drop 0.18 docs
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1238>
2023-03-13 09:04:43 +01:00
Jordan Petridis
92e2a23a99 ci: Update base image to debian 12 bookworm
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1238>
2023-03-13 09:04:43 +01:00
Sebastian Dröge
7be1db86fd ci: Update to gtk 4.10.0
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1238>
2023-03-13 09:04:43 +01:00
Sebastian Dröge
8ef5a045c1 ci: Update to meson 1.0.1
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1238>
2023-03-13 09:04:43 +01:00
Sebastian Dröge
a77a656d04 ci: Update to Rust 1.68
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1238>
2023-03-13 09:04:42 +01:00
Sebastian Dröge
5171267260 ci: Update to rustup 1.25.2
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1238>
2023-03-13 09:04:13 +01:00
Sebastian Dröge
d9ebcc5889 ci: windows: Update to dav1d 1.1.0
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1238>
2023-03-13 08:43:41 +01:00
Sebastian Dröge
a4c248cba3 Update Cargo.lock 2023-02-21 17:03:39 +02:00
Sebastian Dröge
4b9ac76020 Update versions to 0.20.2 2023-02-21 16:57:55 +02:00
Sebastian Dröge
facdd10eba Update CHANGELOG.md for 0.20.2 2023-02-21 16:57:30 +02:00
Sebastian Dröge
b78926a7f3 Update Cargo.lock
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1225>
2023-02-21 16:30:10 +02:00
François Laignel
2f41cb99d3 {Audio,Video}CapsBuilder: add for_encoding constructor
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1225>
2023-02-21 16:11:15 +02:00
SeaDve
eeefa80227 gstreamer-play: impl default for Play
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1225>
2023-02-21 16:10:36 +02:00