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
SeaDve
9446401a46
gstreamer: implement HasParamSpec for ClockTime
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1225 >
2023-02-21 16:10:29 +02:00
Sebastian Dröge
8afac7d31b
Update CHANGELOG.md for 0.20.1
2023-02-13 15:02:29 +02:00
Sebastian Dröge
dabfc8d181
Update versions to 0.20.1
2023-02-13 15:02:29 +02:00
Sebastian Dröge
d1cc1b6715
video: Don't leak the gst::Buffer
when converting a VideoFrame
into an ffi::GstVideoFrame
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1220 >
2023-02-13 14:35:38 +02:00
Sebastian Dröge
bc3e1404d6
video: Don't forget to unmap the VideoFrame
when converting into a gst::Buffer
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1220 >
2023-02-13 14:35:37 +02:00
Sebastian Dröge
2354cd6c4f
audio: Don't forget to unmap the AudioBuffer
and drop the Box
when converting into a gst::Buffer
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1220 >
2023-02-13 14:35:35 +02:00
Sebastian Dröge
6cb469934d
Revert "Add support for inline variable names in error/warning/info message creation macros"
...
This reverts commit 6bd559f5b5
. It breaks
backwards compatibility as it makes it impossible to use a `&String` or
`&str` as debug message and only allows for string literals or format
strings plus arguments.
2023-02-13 11:40:55 +02:00
Sebastian Dröge
6bd559f5b5
Add support for inline variable names in error/warning/info message creation macros
...
Simply by removing the special-casing of string literals, which doesn't
really bring any improvements here.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/442
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1218 >
2023-02-13 11:00:09 +02:00
Sebastian Dröge
66453fdc02
ci: Don't run cargo update
on the stable branch
2023-02-11 20:15:46 +02:00
Sebastian Dröge
e901266415
Add Cargo.lock
2023-02-10 00:15:55 +02:00
Sebastian Dröge
8a02757434
Add 0.20 version to all local dependencies
2023-02-09 23:53:05 +02:00
Sebastian Dröge
2db1198311
Update to 0.17 branch of gtk-rs-core and gtk3-rs
2023-02-09 23:48:32 +02:00
Sebastian Dröge
d284fcdca0
Update CHANGELOG.md for 0.20.0
2023-02-09 23:41:58 +02:00
Sebastian Dröge
b9f36c1b42
Update CHANGELOG.md for 0.19.8
2023-02-09 21:38:00 +02:00
Sebastian Dröge
f6f0465655
Remove various unnecessary clippy allow attributes
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1214 >
2023-02-07 21:13:19 +02:00
Sebastian Dröge
9155d6eb7b
Regenerate with latest gir
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1214 >
2023-02-07 21:00:46 +02:00
Sebastian Dröge
c2dd69dfac
Update gir-files
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1214 >
2023-02-07 20:59:41 +02:00
Sebastian Dröge
8692caa0a6
Update gir
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1214 >
2023-02-07 20:59:31 +02:00
Sebastian Dröge
172e22c4b3
gstreamer: Implement glib::HasParamSpec
for our custom pspecs
...
This allows using `gst::Fraction` / `gst::Array` properties via the new
properties macro.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1213 >
2023-02-06 15:21:02 +02:00
Sebastian Dröge
91eec7a33f
Migrate everything to object lock API instead of custom GMutex
handling
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1212 >
2023-02-06 10:50:33 +02:00
Anders Hellerup Madsen
3ddbdbd383
gstreamer-gl: Require object lock in GLDisplay
...
The methods `gst_gl_display_get_gl_context_for_thread()`,
`gst_gl_display_create_context()`, `gst_gl_display_add_context()` and
`gst_gl_display_remove_context()` now require the display's object lock
to be held when called.
This is required by the C API.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/439
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1212 >
2023-02-06 10:10:18 +02:00
Anders Hellerup Madsen
a021aaa3ce
gstreamer: Add object_lock method to gst::Object
...
See https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/439
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1212 >
2023-02-06 10:10:18 +02:00
Christian Meissl
77866a52df
gstreamer-allocators: allow to subclass fd memory allocators
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1186 >
2023-02-04 19:49:44 +01:00
Sebastian Dröge
00281e98f0
gstreamer: Rename TagSetter::add()
to TagSetter::add_tag()
to not conflict with Bin::add()
...
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/440
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1211 >
2023-02-04 16:44:40 +02:00
Jordan Petridis
c4dc549a5e
ci: Make the plugin update jobs depend on the image builds
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1210 >
2023-02-02 14:04:10 +02:00
Sebastian Dröge
478606e44c
Use glib::Object::new()
instead of new_default()
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1209 >
2023-01-31 12:05:53 +02:00
Sebastian Dröge
c62530e181
Regenerate with latest gir
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1209 >
2023-01-31 10:49:39 +02:00
Sebastian Dröge
f1db72dab2
Update gir-files
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1209 >
2023-01-31 10:47:04 +02:00