Skip to content

Commit

Permalink
ffmpeg_opt: fix the error message log level for the unsupported strea…
Browse files Browse the repository at this point in the history
…m types

Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
michaelni committed May 20, 2015
1 parent 100df10 commit 592b053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffmpeg_opt.c
Original file line number Diff line number Diff line change
Expand Up @@ -2019,7 +2019,7 @@ static int open_output_file(OptionsContext *o, const char *filename)
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) {
Expand Down

0 comments on commit 592b053

Please sign in to comment.