projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c583fd
)
av1enc: Remove g_print for errors
author
Edward Hervey
<edward@centricular.com>
Fri, 15 Dec 2017 16:37:08 +0000
(17:37 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Fri, 15 Dec 2017 16:37:08 +0000
(17:37 +0100)
And use standard debugging system for it
ext/aom/gstav1enc.c
patch
|
blob
|
history
diff --git
a/ext/aom/gstav1enc.c
b/ext/aom/gstav1enc.c
index
5470230
..
2943b60
100644
(file)
--- 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;
}