diff options
author | 2022-04-21 23:03:14 +0100 | |
---|---|---|
committer | 2022-04-21 23:03:14 +0100 | |
commit | cf0839e62df9f24422111150f0ccb5bf82a6e7bf (patch) | |
tree | 53f4b816b091f55160c0d209219fd83f528fdc69 /media-video/pipewire/files | |
parent | media-video/pipewire: add 0.3.50-r2 to fix issues with weird CFLAGS (diff) | |
download | gentoo-cf0839e62df9f24422111150f0ccb5bf82a6e7bf.tar.gz gentoo-cf0839e62df9f24422111150f0ccb5bf82a6e7bf.tar.bz2 gentoo-cf0839e62df9f24422111150f0ccb5bf82a6e7bf.zip |
media-video/pipewire: backport x86 fix
Bug: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2271
Bug: https://bugs.gentoo.org/827546
Bug: https://bugs.gentoo.org/839525
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/pipewire/files')
-rw-r--r-- | media-video/pipewire/files/pipewire-0.3.49-x86-cast.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/media-video/pipewire/files/pipewire-0.3.49-x86-cast.patch b/media-video/pipewire/files/pipewire-0.3.49-x86-cast.patch new file mode 100644 index 000000000000..58b4b331e03e --- /dev/null +++ b/media-video/pipewire/files/pipewire-0.3.49-x86-cast.patch @@ -0,0 +1,20 @@ +https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/5a023c8c84fb053d452983a64a33a41b931fc99b +https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2271 + +From: Wim Taymans <wtaymans@redhat.com> +Date: Thu, 21 Apr 2022 22:12:38 +0200 +Subject: [PATCH] alsa: fix argument type for Long + +Fixes #2271 +--- a/spa/plugins/alsa/alsa-pcm.c ++++ b/spa/plugins/alsa/alsa-pcm.c +@@ -311,7 +311,7 @@ struct spa_pod *spa_alsa_enum_propinfo(struct state *state, + SPA_PROP_INFO_name, SPA_POD_String("latency.internal.ns"), + SPA_PROP_INFO_description, SPA_POD_String("Internal latency in nanoseconds"), + SPA_PROP_INFO_type, SPA_POD_CHOICE_RANGE_Long(state->process_latency.ns, +- 0, 2 * SPA_NSEC_PER_SEC), ++ 0LL, 2 * SPA_NSEC_PER_SEC), + SPA_PROP_INFO_params, SPA_POD_Bool(true)); + break; + case 15: +GitLab |