Commit 100df10b authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg_opt: Give the user a hint on how to ignore unsupported streams

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 40bf3687
......@@ -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);
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment