Browse Source

Improve ffmpeg error reporting in case of input/output stream mismatch,

enabling a dump_format() of the mismatched output stream.

Originally committed as revision 13760 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Stefano Sabatini 17 years ago
parent
commit
462cca10cf
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ffmpeg.c

+ 2
- 0
ffmpeg.c View File

@@ -1630,6 +1630,8 @@ static int av_encode(AVFormatContext **output_files,
}
}
if (!found) {
int i= ost->file_index;
dump_format(output_files[i], i, output_files[i]->filename, 1);
fprintf(stderr, "Could not find input stream matching output stream #%d.%d\n",
ost->file_index, ost->index);
av_exit(1);


Loading…
Cancel
Save