diff options
Diffstat (limited to 'src/lib.c')
-rw-r--r-- | src/lib.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -35,9 +35,9 @@ stp_on_gst_bus_message (GstBus *bus, switch (GST_MESSAGE_TYPE (msg)) { case GST_MESSAGE_ERROR: gst_message_parse_error (msg, &error, &tmp); - g_printerr ("ERROR from element %s: %s\n", + g_critical ("ERROR from element %s: %s", GST_OBJECT_NAME (msg->src), error->message); - g_printerr ("Debug info: %s\n", tmp); + g_critical ("Debug info: %s", tmp); g_error_free (error); g_free (tmp); /* Setting the server response will only work if the request @@ -48,7 +48,7 @@ stp_on_gst_bus_message (GstBus *bus, g_hash_table_remove (ctx->parent_ctx_table, ctx->path); break; case GST_MESSAGE_EOS: - g_debug ("End of file\n"); + g_debug ("End of file"); g_hash_table_remove (ctx->parent_ctx_table, ctx->path); break; default: @@ -74,7 +74,7 @@ gboolean stp_unref_gst_buffer (GstBuffer **buffer, void stp_cleanup_transcode_server_ctx (TranscodeServerCtx *ctx) { - g_debug (">>> Doing server cleanup\n"); + g_debug (">>> Doing server cleanup"); /* Disconnect and free the context for each client */ g_list_foreach (ctx->clients, (GFunc)stp_disconnect_cleanup_client, NULL); |