[gegl] ff-load/ff-save: set default log level to AV_LOG_WARNING
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] ff-load/ff-save: set default log level to AV_LOG_WARNING
- Date: Tue, 15 Dec 2015 10:15:03 +0000 (UTC)
commit 28bca81bb076b4e12db2066bd211e70b22726735
Author: Øyvind Kolås <pippin gimp org>
Date: Tue Dec 15 10:14:27 2015 +0000
ff-load/ff-save: set default log level to AV_LOG_WARNING
operations/external/ff-load.c | 1 +
operations/external/ff-save.c | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/operations/external/ff-load.c b/operations/external/ff-load.c
index 1425775..36ece02 100644
--- a/operations/external/ff-load.c
+++ b/operations/external/ff-load.c
@@ -176,6 +176,7 @@ init (GeglProperties *o)
p->loadedfilename = g_strdup ("");
ff_cleanup (o);
+ av_log_set_level (AV_LOG_WARNING);
}
/* maintain list of audio samples */
diff --git a/operations/external/ff-save.c b/operations/external/ff-save.c
index 3e196c4..bc795b6 100644
--- a/operations/external/ff-save.c
+++ b/operations/external/ff-save.c
@@ -239,6 +239,8 @@ init (GeglProperties *o)
p->audio_read_pos = 0;
o->audio_sample_rate = -1; /* only do this if it hasn't been manually set? */
+
+ av_log_set_level (AV_LOG_WARNING);
}
static void close_video (Priv *p,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]