summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hilber <sparkie@lowbyte.de>2008-08-21 08:00:00 +0000
committerPaul Menzel <paulepanter@users.sourceforge.net>2009-06-06 14:03:08 +0200
commitec3ed33f683232528711a706b7a454780e9bbbfe (patch)
tree2167901bc74f63a9318e1e81baad237d45fb1de4
parentb8c0813de7b39749d40d96f48067df29df0316d7 (diff)
downloadxf86-video-ati-frc-ec3ed33f683232528711a706b7a454780e9bbbfe.tar.gz
xf86-video-ati-frc-ec3ed33f683232528711a706b7a454780e9bbbfe.tar.bz2
Fix bug with triggering of recovery actions.
- fixed a bug that erroneously could trigger recovery actions as if stray updates would have been occurred - since 40ms enhancement (see below) issues with DVB budget cards are considered as fixed. You now also can watch live-TV with the patch. But the time to switch a channel still should be optimized. It sometimes takes too long for the Soft-PLL to lock. Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r--src/radeon_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 618c572..2cf5836 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -4161,6 +4161,7 @@ vga_sync_fields()
ErrorF("DRM_IOCTL_RADEON_SYNCF: %s\n", strerror(errno));
}
VSF_SUB(syncf.tv_now, syncf_prev.tv_now, filter);
+ syncf_prev = syncf;
if (filter.tv_sec
|| filter.tv_usec > SYF_FRAME_CYCLE + SYF_CATCH_RANGE
|| filter.tv_usec < SYF_FRAME_CYCLE - SYF_CATCH_RANGE) {
@@ -4244,7 +4245,6 @@ loop:
/* --- 8< --- */
}
- syncf_prev = syncf;
}
#endif