Commit graph

2837 commits

Author SHA1 Message Date
François Laignel
b673e679c4 gstreamer-player: regenerate 2020-11-05 12:39:23 +01:00
François Laignel
595ba7bb1b gstreamer-pbutils: regenerate 2020-11-05 12:38:39 +01:00
François Laignel
1cd822c548 gstreamer-net: regenerate 2020-11-05 12:37:57 +01:00
François Laignel
9ddda41d4c gstreamer-gl: regenerate 2020-11-05 12:37:25 +01:00
François Laignel
5d2fe6d069 gstreamer-base: regenerate 2020-11-05 12:36:47 +01:00
François Laignel
2c82e1b684 gstreamer-audio: regenerate 2020-11-05 12:36:15 +01:00
François Laignel
9403a0ab15 gstreamer-app: regenerate 2020-11-05 12:35:29 +01:00
François Laignel
60d48f838b gstreamer: regenerate 2020-11-05 12:34:39 +01:00
François Laignel
9ec3100ee3 gir update 2020-11-05 12:25:21 +01:00
Sebastian Dröge
0b5cc2c83e deny: Update with cfg-if 2020-11-02 10:21:31 +02:00
Sebastian Dröge
918a30a60b ci: Disable gstreamer-gl-sys tests for now
This requires moving over to splitting the bindings between GL, EGL,
etc.
2020-11-01 10:26:33 +02:00
Sebastian Dröge
bdcb133fc2 ci: Run sys tests with --all-features and only build --all-features
They're fully additive so there's no point in building with default
features too.

For the non-sys bindings we might want to consider building with default
features though.
2020-11-01 10:09:57 +02:00
Sebastian Dröge
a3395062f1 ci: Build gstreamer from the 1.18 branch for now
git master has ABI changes in gst-plugins-bad.
2020-11-01 09:58:52 +02:00
Sebastian Dröge
b23fcd3904 ci: Update to meson 0.56.0 2020-11-01 09:58:52 +02:00
Sebastian Dröge
9c141a2fbf ci: Explicitly select stable Rust version
And for now we stay at 1.46.0 because 1.47.0 has a bug that prevents
clippy from succeeding.
2020-11-01 09:58:52 +02:00
Sebastian Dröge
dd4dd364da ci: Enable cargo's colors in more cases 2020-11-01 09:48:40 +02:00
Sebastian Dröge
67f5c0767a Regenerate everything with latest gir 2020-11-01 09:48:40 +02:00
Sebastian Dröge
36291d738e ci: Add GstController to the gir checks 2020-11-01 09:48:37 +02:00
Sebastian Dröge
4cd6e09f3d Update documentation link of sys crates 2020-11-01 09:48:37 +02:00
Sebastian Dröge
f08bd7ef88 ci: Add CI tests for the sys crates 2020-11-01 09:48:35 +02:00
Sebastian Dröge
7cca791580 Only run non-sys checks on the CI if the crate actually exists 2020-11-01 09:48:35 +02:00
Sebastian Dröge
7ce39a050c deny: Update deny.toml 2020-11-01 09:48:31 +02:00
Sebastian Dröge
ef120ce923 Update sys versions to 0.17.0
All crates have the same version now, which should cause less confusion
with matching them up.
2020-10-30 18:35:57 +02:00
Sebastian Dröge
c9ab2527e8 Remove spurious Cargo.lock 2020-10-30 18:35:57 +02:00
Sebastian Dröge
35f19e17bf Update repository URLs 2020-10-30 18:35:52 +02:00
Sebastian Dröge
c833e9ed69 Update dependency paths 2020-10-30 18:27:22 +02:00
Sebastian Dröge
b5c376d315 Move every gtk-rs dependency to the combined gtk-rs repository 2020-10-30 18:15:53 +02:00
Sebastian Dröge
56b8ebf129 Update Cargo workspace 2020-10-30 18:14:57 +02:00
Sebastian Dröge
1b20aa407b Remove unneeded sys subdirectory 2020-10-30 18:07:53 +02:00
Sebastian Dröge
109eac2b9a Move sys crates into subdirectories of the non-sys crates 2020-10-30 18:06:07 +02:00
Sebastian Dröge
f657a56947 Move Gir.toml into the corresponding subdirectories 2020-10-30 18:06:01 +02:00
Sebastian Dröge
ff64c6606a Merge gstreamer-sys into the main repository
More often than not both need to be modified in sync and they share the
gir-files subdirectory anyway. As such it's easier to keep them inside
the same repository.
2020-10-30 17:48:04 +02:00
Sebastian Dröge
f8170e3c46 Move everything into the sys subdirectory 2020-10-30 17:46:44 +02:00
Guillaume Gomez
37dad014ec Improve generator script 2020-10-29 10:26:05 +01:00
Sebastian Dröge
a7749b7933 gstreamer/log: Don't provide direct access to the logged object as glib::Object
It might just be constructed or might be finalized currently and it's
not safe to use any APIs on it.

Instead provide a small wrapper type that allows to get the underlying
pointer and that implements the Display trait to print the name of the
object.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/287
2020-10-26 10:42:33 +02:00
Sebastian Dröge
a6c8fe0c8a Use repr(transparent) where it is more correct and get rid of some unneeded repr(C) 2020-10-24 17:09:10 +00:00
Sebastian Dröge
4c216bca3a Remove unneeded PhantomData markers
And as a side-effect also get rid of the lifetime parameter of
gst::TypeFind that was completely unused anyway.
2020-10-24 17:09:10 +00:00
François Laignel
d815e85440 examples/debug_ringbuffer requires feature v1_14 2020-10-20 23:40:18 +02:00
François Laignel
ae9d97dfca ClockTime & opt Formats: fix PartialOrd impl, remove Ord and add min & max
- `PartialOrd` was returning `true` for expressions such as
  - `ClockTime::none() < ClockTime::from_seconds(1)`.
  - `ClockTime::from_seconds(1) > ClockTime::none()`.
- Remove `Ord` because `ClockTime` is not a total order due to
  `ClockTime::none()`. See test `not_ord`.

This also applies to others `Format(Option<{u32,u64}>)` types.
2020-10-20 23:40:18 +02:00
François Laignel
9efe39ff81 ClockTime: add staturating_{add,sub} and ops tests 2020-10-20 23:40:18 +02:00
Sebastian Dröge
ba719ac90c Update for glib changes in glib::Value handling 2020-10-20 13:50:35 +00:00
Sebastian Dröge
0207e41160 gstreamer/clock: Creating new clock ids can't fail gracefully but invalid arguments should be checked 2020-10-20 12:00:13 +03:00
Sebastian Dröge
501934a29b Allow unused imports in autogenerated code
These should not be there to begin with but they're hard to prevent.
2020-10-17 13:09:45 +03:00
Sebastian Dröge
80eb584a7a Regenerate with latest gir 2020-10-15 13:28:02 +03:00
Sebastian Dröge
18c9a37f48 Update gir 2020-10-15 13:26:29 +03:00
Sebastian Dröge
1b00160388 audio: Update array-init dependency to 1.0 2020-10-15 13:21:53 +03:00
Jonas Platte
73ea24ca11
Fix missing dox feature passthrough 2020-10-14 19:00:04 +02:00
Jonas Platte
da5d6df694
Remove unused dependencies
found by cargo-udeps
2020-10-14 19:00:04 +02:00
Sebastian Dröge
fff69b3a23 Update muldiv dependency to 1.0 2020-10-13 09:35:59 +00:00
Sebastian Dröge
025f215bd3 Update byte-slice-cast dependency to 1.0 2020-10-13 09:35:59 +00:00