From 6cc25bd6307cc829dc95f24fc851267cb038959e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 2 Jul 2024 15:50:28 +0100 Subject: [PATCH] subparse: remove regex optimized flag explicitly That way the other flags in jit_flags are not touched and flags changes in future only need to be done in one place. Part-of: --- subprojects/gst-plugins-base/gst/subparse/gstsubparseelement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-base/gst/subparse/gstsubparseelement.c b/subprojects/gst-plugins-base/gst/subparse/gstsubparseelement.c index ab1bf50402..edd9f728a4 100644 --- a/subprojects/gst-plugins-base/gst/subparse/gstsubparseelement.c +++ b/subprojects/gst-plugins-base/gst/subparse/gstsubparseelement.c @@ -51,7 +51,7 @@ gst_sub_parse_data_format_autodetect_regex_once (GstSubParseRegex regtype) #ifdef HAVE_VALGRIND if (RUNNING_ON_VALGRIND) { /* jitted regex confuse valgrind */ - jit_flags = G_REGEX_RAW; + jit_flags &= ~G_REGEX_OPTIMIZE; } #endif