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.
This commit is contained in:
Tim-Philipp Müller 2006-11-06 18:24:59 +00:00
parent e10b075e5d
commit 7298ebaa61
3 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,9 @@
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>
* ext/ogg/gstoggdemux.c:

View file

@ -227,8 +227,8 @@ audioringbuffer_thread_func (GstRingBuffer * buf)
GST_LOG ("transfered %d bytes of %d from segment %d", written, left,
readseg);
if (written < 0 || written > left) {
GST_WARNING ("error writing data (reason: %s), skipping segment\n",
strerror (errno));
GST_WARNING ("error writing data (reason: %s), skipping segment",
g_strerror (errno));
break;
}
left -= written;

View file

@ -223,8 +223,8 @@ audioringbuffer_thread_func (GstRingBuffer * buf)
read = readfunc (src, readptr + read, left);
GST_DEBUG ("transfered %d bytes", read);
if (read < 0 || read > left) {
GST_WARNING ("error reading data (reason: %s), skipping segment\n",
strerror (errno));
GST_WARNING ("error reading data (reason: %s), skipping segment",
g_strerror (errno));
break;
}
left -= read;