From a5c28b9fe2962d5b999cb51c95eb112bcc783145 Mon Sep 17 00:00:00 2001 From: Johns Date: Sun, 25 Dec 2011 17:23:29 +0100 Subject: [PATCH] Fix bug: swapped end and start. --- video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video.c b/video.c index f5c6050..7d8af37 100644 --- a/video.c +++ b/video.c @@ -5833,9 +5833,9 @@ void VideoDrawRenderState(VideoHwDecoder * decoder, Error(_("video/vdpau: decoder rendering failed: %s\n"), VdpauGetErrorString(status)); } - if (start - end > 35) { + if (end - start > 35) { Debug(3, "video/vdpau: decoder render too slow %u ms\n", - start - end); + end - start); } return; }