remove various useless linefeed in logs

This commit is contained in:
Stéphane Cerveau 2019-12-11 10:07:12 +01:00
parent 2b498878ea
commit f8dc428a2a
3 changed files with 7 additions and 8 deletions

View file

@ -168,14 +168,14 @@ start_queue_timer (GstAlsaMidiSrc * alsamidisrc)
ret = snd_seq_start_queue (alsamidisrc->seq, alsamidisrc->queue, NULL);
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));
return ret;
}
ret = snd_seq_drain_output (alsamidisrc->seq);
if (ret < 0)
GST_ERROR_OBJECT (alsamidisrc, "Drain output error: %s\n",
GST_ERROR_OBJECT (alsamidisrc, "Drain output error: %s",
snd_strerror (ret));
return ret;
@ -203,13 +203,12 @@ schedule_next_tick (GstAlsaMidiSrc * alsamidisrc)
ret = snd_seq_event_output (alsamidisrc->seq, &ev);
if (ret < 0)
GST_ERROR_OBJECT (alsamidisrc, "Event output error: %s\n",
GST_ERROR_OBJECT (alsamidisrc, "Event output error: %s",
snd_strerror (ret));
ret = snd_seq_drain_output (alsamidisrc->seq);
if (ret < 0)
GST_ERROR_OBJECT (alsamidisrc, "Event drain error: %s\n",
snd_strerror (ret));
GST_ERROR_OBJECT (alsamidisrc, "Event drain error: %s", snd_strerror (ret));
}
static int
@ -227,7 +226,7 @@ create_port (GstAlsaMidiSrc * alsamidisrc)
ret = snd_seq_alloc_named_queue (alsamidisrc->seq, DEFAULT_CLIENT_NAME);
if (ret < 0) {
GST_ERROR_OBJECT (alsamidisrc, "Cannot allocate queue: %s\n",
GST_ERROR_OBJECT (alsamidisrc, "Cannot allocate queue: %s",
snd_strerror (ret));
return ret;
}

View file

@ -153,7 +153,7 @@ gst_gl_window_dispmanx_egl_open (GstGLWindow * window, GError ** error)
GST_GL_WINDOW_ERROR_RESOURCE_UNAVAILABLE, "Can't open display");
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->native.element = 0;

View file

@ -710,7 +710,7 @@ gst_gl_shader_link (GstGLShader * shader, GError ** error)
GST_OBJECT_UNLOCK (shader);
return ret;
} 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;