mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
av1enc: Remove g_print for errors
And use standard debugging system for it
This commit is contained in:
parent
1c583fd27b
commit
fbc68c35d3
1 changed files with 1 additions and 5 deletions
|
@ -129,10 +129,7 @@ gst_av1_codec_error (aom_codec_ctx_t * ctx, const char *s)
|
||||||
{
|
{
|
||||||
const char *detail = aom_codec_error_detail (ctx);
|
const char *detail = aom_codec_error_detail (ctx);
|
||||||
|
|
||||||
g_print ("%s: %s\n", s, aom_codec_error (ctx));
|
GST_ERROR ("%s: %s %s", s, aom_codec_error (ctx), detail ? detail : "");
|
||||||
if (detail) {
|
|
||||||
g_print (" %s\n", detail);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -345,6 +342,5 @@ gst_av1_enc_start (GstVideoEncoder * encoder)
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_av1_enc_stop (GstVideoEncoder * benc)
|
gst_av1_enc_stop (GstVideoEncoder * benc)
|
||||||
{
|
{
|
||||||
g_print ("AV1Enc Stop \n");
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue