Ticket #1870: tv_play.cpp.patch
File tv_play.cpp.patch, 567 bytes (added by , 18 years ago) |
---|
-
tv_play.cpp
1055 1055 */ 1056 1056 bool TV::StartRecorder(RemoteEncoder *rec, int maxWait) 1057 1057 { 1058 maxWait = (maxWait <= 0) ? 20000 : maxWait;1058 maxWait = (maxWait <= 0) ? 40000 : maxWait; 1059 1059 MythTimer t; 1060 1060 t.start(); 1061 1061 while (!rec->IsRecording() && !exitPlayer && t.elapsed() < maxWait) 1062 usleep(50 );1062 usleep(50000); 1063 1063 if (!rec->IsRecording() || exitPlayer) 1064 1064 { 1065 1065 if (!exitPlayer)