diff options
author | Edward Hervey <edward@centricular.com> | 2017-12-15 17:37:08 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2017-12-15 17:37:08 +0100 |
commit | fbc68c35d3e5f619359e3b3349d97e08703aa2d6 (patch) | |
tree | a04869db911d5f54b82d028a69e2661b5bcf1f43 | |
parent | 1c583fd27b8625482d71f6af2acd60a9e8ac53bb (diff) |
av1enc: Remove g_print for errors
And use standard debugging system for it
-rw-r--r-- | ext/aom/gstav1enc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/aom/gstav1enc.c b/ext/aom/gstav1enc.c index 547023048..2943b6031 100644 --- a/ext/aom/gstav1enc.c +++ b/ext/aom/gstav1enc.c @@ -129,10 +129,7 @@ gst_av1_codec_error (aom_codec_ctx_t * ctx, const char *s) { const char *detail = aom_codec_error_detail (ctx); - g_print ("%s: %s\n", s, aom_codec_error (ctx)); - if (detail) { - g_print (" %s\n", detail); - } + GST_ERROR ("%s: %s %s", s, aom_codec_error (ctx), detail ? detail : ""); } static void @@ -345,6 +342,5 @@ gst_av1_enc_start (GstVideoEncoder * encoder) static gboolean gst_av1_enc_stop (GstVideoEncoder * benc) { - g_print ("AV1Enc Stop \n"); return TRUE; } |