summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-23 17:46:42 +0100
committerwm4 <wm4@nowhere>2015-03-23 17:46:42 +0100
commita5c66601ff959b75aa204465c285fc88c3c9a326 (patch)
treed28a2b600929d3c07142194faebeffc580181517
parent331b21f267d66c4a87a3af23e0baeed0fdd890d8 (diff)
downloadmpv-a5c66601ff959b75aa204465c285fc88c3c9a326.tar.bz2
mpv-a5c66601ff959b75aa204465c285fc88c3c9a326.tar.xz
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.
-rw-r--r--player/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/video.c b/player/video.c
index b544a44b26..7292922781 100644
--- a/player/video.c
+++ b/player/video.c
@@ -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;
}