Commit graph

1419 commits

Author SHA1 Message Date
Sebastian Dröge 4ef0fcd22e Update versions to 0.8.2 2022-02-21 12:51:40 +02:00
Sebastian Dröge 0a8f2164a3 ci: Use correct gstreamer-rs images template 2022-02-21 09:29:58 +02:00
Sebastian Dröge b80ed2cc19 Update Cargo.lock 2022-02-20 23:02:48 +02:00
Sebastian Dröge 488b1fc5f5 deny: Remove num-rational override 2022-02-20 20:50:44 +02:00
Sebastian Dröge 171e6409c6 deny: Update 2022-02-20 20:50:34 +02:00
Sebastian Dröge df16fdf1bc deny: Update 2022-02-20 20:50:34 +02:00
Sebastian Dröge 51ba558b21 dav1ddec: Use AtomicRefCell instead of Mutex for the state
It's only accessed from the streaming thread.
2022-02-20 20:50:02 +02:00
Sebastian Dröge c25966ef6e dav1ddec: Fix compilation after some API changes 2022-02-20 20:49:42 +02:00
Sebastian Dröge 730d0832ae dav1ddec: Release input frames that immediately caused a decoding error
We're not going to get any output for them.
2022-02-20 20:49:33 +02:00
Sebastian Dröge 556b39332d dav1ddec: Update for fixed dav1d-rs API
As a side effect this allows us also to handle errors more gracefully
and to reduce memory load by outputting decoded frames immediately.

Also the code was changed a bit to reduce the number of redundant mutex
lock/unlocks.
2022-02-20 20:49:22 +02:00
Sebastian Dröge 5740d06db2 rav1eenc: Use AtomicRefCell instead of Mutex for the state
It's only accessed from the streaming thread.
2022-02-20 20:47:34 +02:00
Sebastian Dröge af703d3da2 rav1enc: Put container sequence header into the caps 2022-02-20 20:47:24 +02:00
Sebastian Dröge 2e9418603a dav1ddec: Switch to dav1d 0.7 2022-02-20 20:47:15 +02:00
Sebastian Dröge fa59fb016e rav1enc: Don't handle NeedMoreData as "soft" error 2022-02-20 20:46:44 +02:00
Sebastian Dröge b90a670de0 rav1enc: Simplify code
Sending a `None` frame is equivalent to calling `flush()` so no need to
do both.
2022-02-20 20:46:38 +02:00
Sebastian Dröge 1019374324 rav1enc: Set mastering display info, content light level and HDR related colorimetry
Configurable behind the "hdr" cargo feature that is enabled by default
but requires GStreamer 1.18.
2022-02-20 20:46:32 +02:00
Sebastian Dröge 78897820a1 rav1enc: Expose various new settings 2022-02-20 20:46:32 +02:00
Sebastian Dröge 34cf38cc5e rav1enc: Switch from speed preset 5 to 6 as default
This is the default of rav1e nowadays.
2022-02-20 20:46:32 +02:00
Rafael Caricio fb1cbe1a4c rusoto: Export AwsTranscriberResultStability enum 2022-02-20 20:46:32 +02:00
Sebastian Dröge 9824c23ee5 Update Cargo.lock 2022-02-04 18:48:43 +02:00
Sebastian Dröge f0add79b7d Update versions to 0.8.1 2022-02-04 18:46:12 +02:00
Sebastian Dröge 1a9b5c6eab Update Cargo.lock 2022-02-04 18:10:29 +02:00
Guillaume Desmottes d8c4293d6a cdg: update image and cdg_renderer
I pushed a cdg_renderer release using latest image.
2022-02-04 18:09:08 +02:00
Sebastian Dröge 34f8c4beac gtk4: Attach main context receiver from the main context's thread
Otherwise it will fail if the sink's state is changed from a different
thread.

See https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio/-/issues/2
2022-02-04 18:09:02 +02:00
Sebastian Dröge 7bb42f3f5e dav1ddec: Add 8/16 bit grayscale support 2022-02-04 18:08:54 +02:00
Sebastian Dröge 9570fcaddd rav1enc: Support 8 bit grayscale input 2022-02-04 18:08:48 +02:00
Sebastian Dröge c194fb05f4 dav1ddec: Require correct alignment and stream format when running with GStreamer 1.20 2022-02-04 18:08:31 +02:00
Sebastian Dröge e024eb331d rav1enc: Include stream-format and alignment in the caps 2022-02-04 18:08:25 +02:00
Sebastian Dröge ed7b6e8c19 dav1ddec: Clean up state tracking a bit
And especially don't keep a decoder instance around while in Null state.
2022-02-04 18:08:16 +02:00
Sebastian Dröge 1a5473264e dav1ddec: Don't consider decoding errors as fatal
Instead use the `gst_video::video_decoder_error!` macro for allowing a
certain number of consecutive errors before actually failing.
2022-02-04 18:08:16 +02:00
Sebastian Dröge 12a718cd88 dav1ddec: Pass element instance to debug logs 2022-02-04 18:08:16 +02:00
Tomasz Andrzejak a2320c1654 Bump hrtf to version 0.8
hrtfrender tests are now using a fake hrir configuration file which is
stripped of actual position coefficients. The generated config does not
work anymore.
2022-02-04 18:08:00 +02:00
Julian Sparber 78291ccae0 gtk4: Implement Default for PaintableSink 2022-02-04 18:07:54 +02:00
Sebastian Dröge 0f812765b5 hrtfrender: Switch back to hrtf 0.7
This needs some more work because of behaviour changes.
2022-02-04 18:07:49 +02:00
Sebastian Dröge 2ea91e053b Update to parking_lot 0.12 and hrtf 0.8 2022-02-04 18:07:40 +02:00
Sebastian Dröge e21c4e09c5 deny: Remove duplicated nom dependency and add env_logger 2022-02-04 18:06:51 +02:00
Sebastian Dröge 019a14a360 Update Cargo.lock 2022-01-31 15:03:26 +02:00
Sebastian Dröge 07a7420561 Rename self_ variables to imp for consistency 2022-01-18 15:48:34 +02:00
Sebastian Dröge 81a571bd8b Replace Foo::from_instance(foo) with foo.imp() 2022-01-18 15:48:28 +02:00
Sebastian Dröge 67fe856cfa Update Cargo.lock 2022-01-16 14:15:45 +02:00
Sebastian Dröge f84f54fc78 hlssink3: Fix version 2022-01-16 14:08:32 +02:00
Sebastian Dröge 00172c0485 rusoto: Add missing license file 2022-01-16 13:53:04 +02:00
Sebastian Dröge 574e4f6b64 Add SPDX-License-Identifier to all file headers 2022-01-15 21:44:40 +02:00
Sebastian Dröge 818a508ac5 Re-license LGPL-2.1 plugins to MPL-2
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/168
2022-01-15 21:44:39 +02:00
Sebastian Dröge a693ec5aae ci: Don't run cargo update 2022-01-15 21:39:28 +02:00
Sebastian Dröge 1b0ae5f75f Include Cargo.lock in the repository 2022-01-15 20:32:16 +02:00
Sebastian Dröge 8ffb6c1584 Switch to 0.15 branches of gtk-rs, and 0.18 of gstreamer-rs and provide a version 2022-01-15 20:31:40 +02:00
Sebastian Dröge ab14c50d1c Ignore clippy::non_send_fields_in_send_ty lint
It's useless in its current shape and wrongly triggering on all types.

See https://github.com/rust-lang/rust-clippy/issues/8045
2022-01-14 12:09:57 +02:00
Thibault Saunier 3cc2b32756 meson: Only rebuild when files checked in git change
This allows for faster rebuild avoiding to run the target when nothing
changed.

This approach is not ideal as we should find a way to actually know when
to rebuild based on information from cargo itself but there seem to be
no way to do it at this point.
2022-01-13 10:12:13 +00:00
Jordan Petridis f78b97ba4a ci: stop installing gtk4 manually
It's now included in the base image we use.

https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/942
2022-01-12 22:24:22 +02:00