Ticket #2903: interlaced_refresh_rate.diff

File interlaced_refresh_rate.diff, 558 bytes (added by drvik@…, 13 years ago)

Fixes miscalculation of refresh rate on interlaced modelines

  • libs/libmythtv/videoout_xv.cpp

     
    308308    if (rate == 0)
    309309        rate = 60;
    310310
     311    if (mode_line.flags && 0x010) // #define V_INTERLACE 0x010
     312        rate = rate * 2;          // if modeline is interlaced then double the effective refresh rate
     313
    311314    if (rate < 20 || rate > 200)
    312315    {
    313316        VERBOSE(VB_PLAYBACK, LOC + QString("Unreasonable refresh rate %1Hz "