Ticket #1870: tv_play.cpp.patch

File tv_play.cpp.patch, 567 bytes (added by klaas.de.waal@…, 18 years ago)

tv_play.cpp change StartPlayer? timeout from 20 to 40 seconds

  • tv_play.cpp

     
    10551055 */
    10561056bool TV::StartRecorder(RemoteEncoder *rec, int maxWait)
    10571057{
    1058     maxWait = (maxWait <= 0) ? 20000 : maxWait;
     1058    maxWait = (maxWait <= 0) ? 40000 : maxWait;
    10591059    MythTimer t;
    10601060    t.start();
    10611061    while (!rec->IsRecording() && !exitPlayer && t.elapsed() < maxWait)
    1062         usleep(50);
     1062        usleep(50000);
    10631063    if (!rec->IsRecording() || exitPlayer)
    10641064    {
    10651065        if (!exitPlayer)