aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-21 01:09:49 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-21 01:10:53 +0200
commit592b053c7bacde6d13fe69bffd5b1b3b71fa1ca9 (patch)
tree59a35220fa0da77917eeda869d489188692aaeb4
parent100df10b0f494060a07960f2306c6db414c28c8e (diff)
downloadffmpeg-592b053c7bacde6d13fe69bffd5b1b3b71fa1ca9.tar.gz
ffmpeg_opt: fix the error message log level for the unsupported stream types
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--ffmpeg_opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index 5abf7c3f56..aa0f3db69d 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -2019,7 +2019,7 @@ loop_end:
case AVMEDIA_TYPE_DATA: ost = new_data_stream (o, oc, src_idx); break;
case AVMEDIA_TYPE_ATTACHMENT: ost = new_attachment_stream(o, oc, src_idx); break;
default:
- av_log(NULL, ignore_unknown_streams ? AV_LOG_FATAL : AV_LOG_WARNING,
+ av_log(NULL, ignore_unknown_streams ? AV_LOG_WARNING : AV_LOG_FATAL,
"Cannot map stream #%d:%d - unsupported type.\n",
map->file_index, map->stream_index);
if (!ignore_unknown_streams) {