projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1887258
)
multiudpsink: pass length parameter to g_convert
author
Michael Smith
<msmith@xiph.org>
Mon, 21 Dec 2009 01:24:47 +0000
(17:24 -0800)
committer
Michael Smith
<msmith@xiph.org>
Mon, 21 Dec 2009 01:26:15 +0000
(17:26 -0800)
gst/udp/gstmultiudpsink.c
patch
|
blob
|
history
diff --git
a/gst/udp/gstmultiudpsink.c
b/gst/udp/gstmultiudpsink.c
index
27fb8b2
..
efbef3d
100644
(file)
--- a/
gst/udp/gstmultiudpsink.c
+++ b/
gst/udp/gstmultiudpsink.c
@@
-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));