summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2011-12-25 17:23:29 +0100
committerJohns <johns98@gmx.net>2011-12-25 17:23:29 +0100
commita5c28b9fe2962d5b999cb51c95eb112bcc783145 (patch)
tree0a65fc3455fff47422616d5452c96afdafc055a8
parent7f0ad63209b8bce413e76144a0ff09d992bf0231 (diff)
downloadvdr-plugin-softhddevice-a5c28b9fe2962d5b999cb51c95eb112bcc783145.tar.gz
vdr-plugin-softhddevice-a5c28b9fe2962d5b999cb51c95eb112bcc783145.tar.bz2
Fix bug: swapped end and start.
-rw-r--r--video.c4
1 files 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;
}