From 667f803bb4fe6a38b1cb9800d0741b08806757d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Thu, 28 Aug 2025 00:16:29 -0600 Subject: [PATCH] gst_all_1.gst-plugins-rs: add test patch from upstream and re-enable tests --- .../libraries/gstreamer/rs/default.nix | 5 +++++ .../libraries/gstreamer/rs/ignore-tests.patch | 20 ------------------- 2 files changed, 5 insertions(+), 20 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/rs/default.nix b/pkgs/development/libraries/gstreamer/rs/default.nix index f8390aed9c40..7bfb0fbfce5a 100644 --- a/pkgs/development/libraries/gstreamer/rs/default.nix +++ b/pkgs/development/libraries/gstreamer/rs/default.nix @@ -189,6 +189,11 @@ stdenv.mkDerivation (finalAttrs: { patches = [ # Related to https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/723 ./ignore-tests.patch + (fetchpatch { + name = "x264enc-test-fix.patch"; + url = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/commit/c0c9888d66e107f9e0b6d96cd3a85961c7e97d9a.diff"; + hash = "sha256-/ILdPDjI20k5l9Qf/klglSuhawmFUs9mR+VhBnQqsWw="; + }) ]; strictDeps = true; diff --git a/pkgs/development/libraries/gstreamer/rs/ignore-tests.patch b/pkgs/development/libraries/gstreamer/rs/ignore-tests.patch index 63c053f9a066..52b231816ce8 100644 --- a/pkgs/development/libraries/gstreamer/rs/ignore-tests.patch +++ b/pkgs/development/libraries/gstreamer/rs/ignore-tests.patch @@ -1,23 +1,3 @@ -diff --git a/mux/mp4/tests/tests.rs b/mux/mp4/tests/tests.rs -index 52b91f59..c5875554 100644 ---- a/mux/mp4/tests/tests.rs -+++ b/mux/mp4/tests/tests.rs -@@ -1339,6 +1339,7 @@ fn test_taic_encode_cannot_sync(video_enc: &str) { - ); - } - -+#[ignore = "Unknown failure"] - #[test] - fn test_taic_x264() { - init(); -@@ -1359,6 +1360,7 @@ fn test_taic_stai_x264_not_enabled() { - test_taic_stai_encode("x264enc", false); - } - -+#[ignore = "Unknown failure"] - #[test] - fn test_taic_x264_no_sync() { - init(); diff --git a/utils/uriplaylistbin/tests/uriplaylistbin.rs b/utils/uriplaylistbin/tests/uriplaylistbin.rs index 3489eaa8..569635d6 100644 --- a/utils/uriplaylistbin/tests/uriplaylistbin.rs