diff options
Diffstat (limited to 'src/encode.c')
-rw-r--r-- | src/encode.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/encode.c b/src/encode.c index 3862aa6..4054c89 100644 --- a/src/encode.c +++ b/src/encode.c @@ -38,9 +38,9 @@ on_autoplug_continue (GstElement *decodebin, g_signal_emit_by_name (encodebin, "request-pad", caps, &sinkpad); if (sinkpad != NULL) - ret = FALSE, g_debug ("encodebin can passthrough %s\n", name); + ret = FALSE, g_debug ("encodebin can passthrough %s", name); else - ret = TRUE, g_debug ("encodebin cannot passthrough %s\n", name); + ret = TRUE, g_debug ("encodebin cannot passthrough %s", name); if (sinkpad) gst_object_unref (sinkpad); @@ -76,16 +76,16 @@ on_decodebin_pad_added (GstElement *decodebin, /* We request a sink pad for the decoded stream */ g_signal_emit_by_name (encodebin, "request-pad", caps, &sinkpad); if (!sinkpad) { - g_printerr ("Failed to request a new sink pad for %s\n", name); + g_critical ("Failed to request a new sink pad for %s", name); goto out; } - g_debug ("Requested a new sink pad for %s\n", name); + g_debug ("Requested a new sink pad for %s", name); } else { - g_debug ("Found an existing sink pad for %s\n", name); + g_debug ("Found an existing sink pad for %s", name); } if (gst_pad_link (srcpad, sinkpad) != GST_PAD_LINK_OK) - g_printerr ("Couldn't link pads for %s\n", name); + g_critical ("Couldn't link pads for %s", name); out: g_free (name); @@ -170,7 +170,7 @@ stp_encode_from_msg (TranscodeServerCtx *ctx) GstElement *tee, *q1, *fakesink; GstEncodingProfile *profile; - g_debug ("Constructing pipeline\n"); + g_debug ("Constructing pipeline"); src = gst_element_factory_make ("appsrc", "src"); g_object_set (src, "is-live", TRUE, |