mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
multiudpsink: pass length parameter to g_convert
This commit is contained in:
parent
188725811f
commit
eab08d67b3
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ socket_last_error_message ()
|
|||
if (FAILED (result)) {
|
||||
return g_strdup ("failed to get error message from system");
|
||||
} else {
|
||||
return g_convert (buf, "UTF-16", "UTF-8", NULL, NULL, NULL);
|
||||
return g_convert (buf, -1, "UTF-16", "UTF-8", NULL, NULL, NULL);
|
||||
}
|
||||
#else
|
||||
return g_strdup (g_strerror (errno));
|
||||
|
|
Loading…
Reference in a new issue