[mythtv-commits] Ticket #1594: Protect against bogus refresh rate reported by X
MythTV
mythtv at cvs.mythtv.org
Tue Mar 28 18:29:37 UTC 2006
#1594: Protect against bogus refresh rate reported by X
-----------------------------+----------------------------------------------
Reporter: gsstark at mit.edu | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: 0.19
Severity: medium |
-----------------------------+----------------------------------------------
Mythtv uses XF86VidModeGetModeLine to calculate a refresh rate. But it
appears
the ATI driver is giving a bogus value that makes mythtv think the
refresh rate is 434Khz. I could see how that would confuse mythtv.
I submitted an xorg bug report:
https://bugs.freedesktop.org/show_bug.cgi?id=6421
But it seems like mythtv can easily protect itself here. It already
defaults
to 60hz if it can't get any refresh rate from X. I would say it should
also
fail over to the default if the refresh rate it gets from X is
unreasonable.
I've attached an untested patch.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/1594>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list