fixing bitrate display if -acodec copy is used, patch by (Kareila <cokewench at yahoo dot com>)
Originally committed as revision 1074 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
384855eebf
commit
5d9827bcf6
2
ffmpeg.c
2
ffmpeg.c
@ -699,7 +699,7 @@ void print_report(AVFormatContext **output_files,
|
|||||||
}
|
}
|
||||||
/* compute min output value */
|
/* compute min output value */
|
||||||
pts = (double)ost->st->pts.val * os->pts_num / os->pts_den;
|
pts = (double)ost->st->pts.val * os->pts_num / os->pts_den;
|
||||||
if (pts < ti1)
|
if ((pts < ti1) && (pts > 0))
|
||||||
ti1 = pts;
|
ti1 = pts;
|
||||||
}
|
}
|
||||||
if (ti1 < 0.01)
|
if (ti1 < 0.01)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user