device-monitor: Also accept utf8 in launch lines
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9494>
This commit is contained in:
parent
fe2db9df3d
commit
a9f803247f
@ -87,7 +87,7 @@ value_to_string (const GValue * v)
|
||||
|
||||
if (G_VALUE_HOLDS_STRING (v)) {
|
||||
s = g_value_get_string (v);
|
||||
need_serialize = !g_str_is_ascii (s);
|
||||
need_serialize = !g_utf8_validate (s, -1, NULL);
|
||||
} else {
|
||||
need_serialize = TRUE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user