Commit 833ec917 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg/do_video_stats: fix used timebase

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 55fe1582
......@@ -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;
......
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