mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
e10b075e5d
commit
7298ebaa61
3 changed files with 10 additions and 4 deletions
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue