Commit 7298ebaa authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

gst-libs/gst/audio/: Use g_strerror instead of strerror so we get UTF-8.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c: (audioringbuffer_thread_func):
* gst-libs/gst/audio/gstaudiosrc.c: (audioringbuffer_thread_func):
Use g_strerror instead of strerror so we get UTF-8.
parent e10b075e
2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
* gst-libs/gst/audio/gstaudiosink.c: (audioringbuffer_thread_func):
* gst-libs/gst/audio/gstaudiosrc.c: (audioringbuffer_thread_func):
Use g_strerror instead of strerror so we get UTF-8.
2006-11-03 David Schleef <ds@schleef.org> 2006-11-03 David Schleef <ds@schleef.org>
   
* ext/ogg/gstoggdemux.c: * ext/ogg/gstoggdemux.c:
...@@ -227,8 +227,8 @@ audioringbuffer_thread_func (GstRingBuffer * buf) ...@@ -227,8 +227,8 @@ audioringbuffer_thread_func (GstRingBuffer * buf)
GST_LOG ("transfered %d bytes of %d from segment %d", written, left, GST_LOG ("transfered %d bytes of %d from segment %d", written, left,
readseg); readseg);
if (written < 0 || written > left) { if (written < 0 || written > left) {
GST_WARNING ("error writing data (reason: %s), skipping segment\n", GST_WARNING ("error writing data (reason: %s), skipping segment",
strerror (errno)); g_strerror (errno));
break; break;
} }
left -= written; left -= written;
......
...@@ -223,8 +223,8 @@ audioringbuffer_thread_func (GstRingBuffer * buf) ...@@ -223,8 +223,8 @@ audioringbuffer_thread_func (GstRingBuffer * buf)
read = readfunc (src, readptr + read, left); read = readfunc (src, readptr + read, left);
GST_DEBUG ("transfered %d bytes", read); GST_DEBUG ("transfered %d bytes", read);
if (read < 0 || read > left) { if (read < 0 || read > left) {
GST_WARNING ("error reading data (reason: %s), skipping segment\n", GST_WARNING ("error reading data (reason: %s), skipping segment",
strerror (errno)); g_strerror (errno));
break; break;
} }
left -= read; left -= read;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment