mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
validate: Remove G_REGEX_OPTIMIZE usage
It's not needed and causes issues with valgrind (which doesn't support jit) Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7112>
This commit is contained in:
parent
b4ebf52f06
commit
60454336c8
1 changed files with 4 additions and 5 deletions
|
@ -729,9 +729,9 @@ gst_validate_report_init (void)
|
|||
}
|
||||
|
||||
#ifndef GST_DISABLE_GST_DEBUG
|
||||
if (!newline_regex)
|
||||
newline_regex =
|
||||
g_regex_new ("\n", G_REGEX_OPTIMIZE | G_REGEX_MULTILINE, 0, NULL);
|
||||
if (!newline_regex) {
|
||||
newline_regex = g_regex_new ("\n", G_REGEX_MULTILINE, 0, NULL);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -1234,8 +1234,7 @@ gst_validate_printf_valist (gpointer source, const gchar * format, va_list args)
|
|||
g_free (tmp);
|
||||
|
||||
if (!newline_regex)
|
||||
newline_regex =
|
||||
g_regex_new ("\n", G_REGEX_OPTIMIZE | G_REGEX_MULTILINE, 0, NULL);
|
||||
newline_regex = g_regex_new ("\n", G_REGEX_MULTILINE, 0, NULL);
|
||||
|
||||
#ifndef GST_DISABLE_GST_DEBUG
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue