[FFmpeg-cvslog] ffmpeg_opt: fix the error message log level for the unsupported stream types
Michael Niedermayer
git at videolan.org
Thu May 21 01:17:49 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May 21 01:09:49 2015 +0200| [592b053c7bacde6d13fe69bffd5b1b3b71fa1ca9] | committer: Michael Niedermayer
ffmpeg_opt: fix the error message log level for the unsupported stream types
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=592b053c7bacde6d13fe69bffd5b1b3b71fa1ca9
---
ffmpeg_opt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index 5abf7c3..aa0f3db 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) {
More information about the ffmpeg-cvslog
mailing list