mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7126>
This commit is contained in:
parent
084f6b3fbe
commit
6cc25bd630
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ gst_sub_parse_data_format_autodetect_regex_once (GstSubParseRegex regtype)
|
||||||
#ifdef HAVE_VALGRIND
|
#ifdef HAVE_VALGRIND
|
||||||
if (RUNNING_ON_VALGRIND) {
|
if (RUNNING_ON_VALGRIND) {
|
||||||
/* jitted regex confuse valgrind */
|
/* jitted regex confuse valgrind */
|
||||||
jit_flags = G_REGEX_RAW;
|
jit_flags &= ~G_REGEX_OPTIMIZE;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue