diff mbox series

[FFmpeg-devel,6/6] fftools/cmdutils: also print warnings when using -sinks and -sources

Message ID 20201119205123.21968-6-cus@passwd.hu
State Accepted
Commit 87c1b7423385742bea13e7acc146939376cd349f
Headers show
Series [FFmpeg-devel,1/6] avutil/timecode: allow drop frame timecodes for multiples of 30000/1001 fps
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Marton Balint Nov. 19, 2020, 8:51 p.m. UTC
Signed-off-by: Marton Balint <cus@passwd.hu>
---
 fftools/cmdutils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 88fdbeaf1e..4eb68d2201 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -2308,7 +2308,7 @@  int show_sources(void *optctx, const char *opt, const char *arg)
     int ret = 0;
     int error_level = av_log_get_level();
 
-    av_log_set_level(AV_LOG_ERROR);
+    av_log_set_level(AV_LOG_WARNING);
 
     if ((ret = show_sinks_sources_parse_arg(arg, &dev, &opts)) < 0)
         goto fail;
@@ -2346,7 +2346,7 @@  int show_sinks(void *optctx, const char *opt, const char *arg)
     int ret = 0;
     int error_level = av_log_get_level();
 
-    av_log_set_level(AV_LOG_ERROR);
+    av_log_set_level(AV_LOG_WARNING);
 
     if ((ret = show_sinks_sources_parse_arg(arg, &dev, &opts)) < 0)
         goto fail;