From 6432f74fc7ec81cde0ea25822be505247d4c1ef9 Mon Sep 17 00:00:00 2001
From: Eloi BAIL <eloi.bail@savoirfairelinux.com>
Date: Wed, 16 Sep 2015 10:35:24 -0400
Subject: [PATCH] media: add libav default traces to warning

Default trace level is ERROR. In order to investigate
video decoding issues, I change it to WARNING
After stabilisation, we should reset it to ERROR.

Issue: #79686
Change-Id: I2e77e1759e46748ddbef6f6a60c6cba55c4d0a41
---
 src/media/libav_utils.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/media/libav_utils.cpp b/src/media/libav_utils.cpp
index 0f9b89f7ef..0b96866419 100644
--- a/src/media/libav_utils.cpp
+++ b/src/media/libav_utils.cpp
@@ -86,7 +86,7 @@ static void
 setAvLogLevel()
 {
     char* envvar = getenv(AVLOGLEVEL);
-    signed level = AV_LOG_ERROR;
+    signed level = AV_LOG_WARNING;
 
     if (envvar != nullptr) {
         if (not (std::istringstream(envvar) >> level))
-- 
GitLab