Ticket #1485: fallback_auto_inversion.patch

File fallback_auto_inversion.patch, 1.2 KB (added by Janne <janne-mythtv@…>, 15 years ago)

falls back to auto inversion since 9539 insert nothing into dtv_multiplex.inversion

  • libs/libmythtv/dvbtypes.cpp

     
    638638
    639639    params.inversion = parseInversion(inversion, ok);
    640640    if (!ok)
    641     {
    642         ERROR_TUNING("Invalid inversion, aborting.");
    643         return false;
    644     }
     641        ERROR_TUNING("Invalid inversion, aborting, falling back to 'auto'.");
    645642
    646643    p.bandwidth             = parseBandwidth(bandwidth,          ok);
    647644    p.code_rate_HP          = parseCodeRate(coderate_hp,         ok);
     
    671668
    672669    params.inversion = parseInversion(inversion, ok);
    673670    if (!ok)
    674     {
    675         ERROR_TUNING("Invalid inversion, aborting.");
    676         return false;
    677     }
     671        ERROR_TUNING("Invalid inversion, aborting, falling back to 'auto'");
    678672
    679673    p.symbol_rate = symbol_rate.toInt();
    680674    if (!p.symbol_rate)
     
    722716
    723717    params.inversion = parseInversion(inversion, ok);
    724718    if (!ok)
    725     {
    726         ERROR_TUNING("Invalid inversion, aborting.");
    727         return false;
    728     }
     719        ERROR_TUNING("Invalid inversion, aborting, falling back to 'auto'");
    729720
    730721    p.symbol_rate = symbol_rate.toInt();
    731722    if (!p.symbol_rate)