diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-19 20:54:27 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-19 20:54:27 +0200 |
commit | 833ec9177d179d2dcbfa498a921b05da3f89bbe6 (patch) | |
tree | 185b43dbb4b84d5b16d38a35a26e96e2fb9648fb | |
parent | 55fe1582cb2860db40605457f394db063c162528 (diff) | |
download | ffmpeg-833ec9177d179d2dcbfa498a921b05da3f89bbe6.tar.gz |
ffmpeg/do_video_stats: fix used timebase
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1107,7 +1107,7 @@ static void do_video_stats(OutputStream *ost, int frame_size) fprintf(vstats_file,"f_size= %6d ", frame_size); /* compute pts value */ - ti1 = ost->last_mux_dts_plus_duration * av_q2d(enc->time_base); + ti1 = ost->last_mux_dts_plus_duration * av_q2d(ost->st->time_base); if (ti1 < 0.01) ti1 = 0.01; |