gst_all_1.gst-plugins-rs: add test patch from upstream and re-enable tests (#437805)

authored by K900 and committed by GitHub aa74b975 d0451224

+5 -20
+5
pkgs/development/libraries/gstreamer/rs/default.nix
··· 189 189 patches = [ 190 190 # Related to https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/723 191 191 ./ignore-tests.patch 192 + (fetchpatch { 193 + name = "x264enc-test-fix.patch"; 194 + url = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/commit/c0c9888d66e107f9e0b6d96cd3a85961c7e97d9a.diff"; 195 + hash = "sha256-/ILdPDjI20k5l9Qf/klglSuhawmFUs9mR+VhBnQqsWw="; 196 + }) 192 197 ]; 193 198 194 199 strictDeps = true;
-20
pkgs/development/libraries/gstreamer/rs/ignore-tests.patch
··· 1 - diff --git a/mux/mp4/tests/tests.rs b/mux/mp4/tests/tests.rs 2 - index 52b91f59..c5875554 100644 3 - --- a/mux/mp4/tests/tests.rs 4 - +++ b/mux/mp4/tests/tests.rs 5 - @@ -1339,6 +1339,7 @@ fn test_taic_encode_cannot_sync(video_enc: &str) { 6 - ); 7 - } 8 - 9 - +#[ignore = "Unknown failure"] 10 - #[test] 11 - fn test_taic_x264() { 12 - init(); 13 - @@ -1359,6 +1360,7 @@ fn test_taic_stai_x264_not_enabled() { 14 - test_taic_stai_encode("x264enc", false); 15 - } 16 - 17 - +#[ignore = "Unknown failure"] 18 - #[test] 19 - fn test_taic_x264_no_sync() { 20 - init(); 21 1 diff --git a/utils/uriplaylistbin/tests/uriplaylistbin.rs b/utils/uriplaylistbin/tests/uriplaylistbin.rs 22 2 index 3489eaa8..569635d6 100644 23 3 --- a/utils/uriplaylistbin/tests/uriplaylistbin.rs