git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add new converter (useable to get movie creation time and duration)
[enigma2.git]
/
lib
/
base
/
ebase.cpp
diff --git
a/lib/base/ebase.cpp
b/lib/base/ebase.cpp
index 93bfd3425b5425360d2e28568239b0f293a9087a..08c15610d4cb38dce3a0e2fbbe98fd5578f59217 100644
(file)
--- a/
lib/base/ebase.cpp
+++ b/
lib/base/ebase.cpp
@@
-197,12
+197,17
@@
int eMainloop::processOneEvent(unsigned int twisted_timeout, PyObject **res, ePy
}
}
}
}
+ m_is_idle = 1;
+
if (this == eApp)
if (this == eApp)
+ {
Py_BEGIN_ALLOW_THREADS
ret = ::poll(pfd, fdcount, poll_timeout);
Py_END_ALLOW_THREADS
Py_BEGIN_ALLOW_THREADS
ret = ::poll(pfd, fdcount, poll_timeout);
Py_END_ALLOW_THREADS
- else
+
}
else
ret = ::poll(pfd, fdcount, poll_timeout);
ret = ::poll(pfd, fdcount, poll_timeout);
+
+ m_is_idle = 0;
/* ret > 0 means that there are some active poll entries. */
if (ret > 0)
/* ret > 0 means that there are some active poll entries. */
if (ret > 0)