video: use less technical language for PTS warning

"Non-monotonic" isn't even 100% correct; it's missing "strictly" (for
briefness I guess), and also the message is printed if the PTS jumps
forward. So just print something that is likely a bit easier to
understand.
This commit is contained in:
wm4
2015-03-23 17:46:42 +01:00
parent 331b21f267
commit a5c66601ff

View File

@@ -588,7 +588,7 @@ static int video_output_image(struct MPContext *mpctx, double endpts)
frame_time = pts - mpctx->video_pts;
if (frame_time <= 0 || frame_time >= 60) {
// Assume a PTS difference >= 60 seconds is a discontinuity.
MP_WARN(mpctx, "Non-monotonic video pts: %f -> %f\n",
MP_WARN(mpctx, "Invalid video timestamp: %f -> %f\n",
mpctx->video_pts, pts);
frame_time = 0;
}