use POLLIN instead of POLLPRI for clip buffer empty
[enigma2.git] / lib / base / filepush.cpp
index d43b6e1c6a1dc2ffea8a5a41ff83b4a3fa991b84..3412c84a3a0744f8994296172cdf0973ec9cebd8 100644 (file)
@@ -192,7 +192,7 @@ void eFilePushThread::thread()
                                
                                struct pollfd pfd;
                                pfd.fd = m_fd_dest;
-                               pfd.events = POLLHUP;
+                               pfd.events = POLLIN;
                                poll(&pfd, 1, 10000);
                                sleep(5); /* HACK to allow ES buffer to drain */
                                already_empty = 1;