summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c9f8809)
Use OutputStream.last_mux_dts as an approximation of 'current' output
time instead.
vid = 1;
}
/* compute min output value */
vid = 1;
}
/* compute min output value */
- pts = (double)ost->st->pts.val * av_q2d(ost->st->time_base);
+ pts = (double)ost->last_mux_dts * av_q2d(ost->st->time_base);
if ((pts < ti1) && (pts > 0))
ti1 = pts;
}
if ((pts < ti1) && (pts > 0))
ti1 = pts;
}