aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-21 01:09:04 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-21 01:10:53 +0200
commit100df10b0f494060a07960f2306c6db414c28c8e (patch)
treee591f81470265c642141494c5391acd0aa105a1c
parent40bf3687a1c12dc859ad9e76a53c79dd15d99ed6 (diff)
downloadffmpeg-100df10b0f494060a07960f2306c6db414c28c8e.tar.gz
ffmpeg_opt: Give the user a hint on how to ignore unsupported streams
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--ffmpeg_opt.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index e64c829d50..5abf7c3f56 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -2022,8 +2022,12 @@ loop_end:
av_log(NULL, ignore_unknown_streams ? AV_LOG_FATAL : AV_LOG_WARNING,
"Cannot map stream #%d:%d - unsupported type.\n",
map->file_index, map->stream_index);
- if (!ignore_unknown_streams)
+ if (!ignore_unknown_streams) {
+ av_log(NULL, AV_LOG_FATAL,
+ "If you want unsupported types ignored instead"
+ "of failing, please use the -ignore_unknown option\n");
exit_program(1);
+ }
}
}
}