remove various useless linefeed in logs
This commit is contained in:
parent
2b498878ea
commit
f8dc428a2a
@ -168,14 +168,14 @@ start_queue_timer (GstAlsaMidiSrc * alsamidisrc)
|
|||||||
|
|
||||||
ret = snd_seq_start_queue (alsamidisrc->seq, alsamidisrc->queue, NULL);
|
ret = snd_seq_start_queue (alsamidisrc->seq, alsamidisrc->queue, NULL);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
GST_ERROR_OBJECT (alsamidisrc, "Timer event output error: %s\n",
|
GST_ERROR_OBJECT (alsamidisrc, "Timer event output error: %s",
|
||||||
snd_strerror (ret));
|
snd_strerror (ret));
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = snd_seq_drain_output (alsamidisrc->seq);
|
ret = snd_seq_drain_output (alsamidisrc->seq);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
GST_ERROR_OBJECT (alsamidisrc, "Drain output error: %s\n",
|
GST_ERROR_OBJECT (alsamidisrc, "Drain output error: %s",
|
||||||
snd_strerror (ret));
|
snd_strerror (ret));
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
@ -203,13 +203,12 @@ schedule_next_tick (GstAlsaMidiSrc * alsamidisrc)
|
|||||||
|
|
||||||
ret = snd_seq_event_output (alsamidisrc->seq, &ev);
|
ret = snd_seq_event_output (alsamidisrc->seq, &ev);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
GST_ERROR_OBJECT (alsamidisrc, "Event output error: %s\n",
|
GST_ERROR_OBJECT (alsamidisrc, "Event output error: %s",
|
||||||
snd_strerror (ret));
|
snd_strerror (ret));
|
||||||
|
|
||||||
ret = snd_seq_drain_output (alsamidisrc->seq);
|
ret = snd_seq_drain_output (alsamidisrc->seq);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
GST_ERROR_OBJECT (alsamidisrc, "Event drain error: %s\n",
|
GST_ERROR_OBJECT (alsamidisrc, "Event drain error: %s", snd_strerror (ret));
|
||||||
snd_strerror (ret));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
@ -227,7 +226,7 @@ create_port (GstAlsaMidiSrc * alsamidisrc)
|
|||||||
|
|
||||||
ret = snd_seq_alloc_named_queue (alsamidisrc->seq, DEFAULT_CLIENT_NAME);
|
ret = snd_seq_alloc_named_queue (alsamidisrc->seq, DEFAULT_CLIENT_NAME);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
GST_ERROR_OBJECT (alsamidisrc, "Cannot allocate queue: %s\n",
|
GST_ERROR_OBJECT (alsamidisrc, "Cannot allocate queue: %s",
|
||||||
snd_strerror (ret));
|
snd_strerror (ret));
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -153,7 +153,7 @@ gst_gl_window_dispmanx_egl_open (GstGLWindow * window, GError ** error)
|
|||||||
GST_GL_WINDOW_ERROR_RESOURCE_UNAVAILABLE, "Can't open display");
|
GST_GL_WINDOW_ERROR_RESOURCE_UNAVAILABLE, "Can't open display");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
GST_DEBUG ("Got display size: %dx%d\n", window_egl->dp_width,
|
GST_DEBUG ("Got display size: %dx%d", window_egl->dp_width,
|
||||||
window_egl->dp_height);
|
window_egl->dp_height);
|
||||||
|
|
||||||
window_egl->native.element = 0;
|
window_egl->native.element = 0;
|
||||||
|
@ -710,7 +710,7 @@ gst_gl_shader_link (GstGLShader * shader, GError ** error)
|
|||||||
GST_OBJECT_UNLOCK (shader);
|
GST_OBJECT_UNLOCK (shader);
|
||||||
return ret;
|
return ret;
|
||||||
} else if (len > 1) {
|
} else if (len > 1) {
|
||||||
GST_FIXME ("shader link log:\n%s\n", info_buffer);
|
GST_FIXME ("shader link log:\n%s", info_buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = priv->linked = TRUE;
|
ret = priv->linked = TRUE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user