use POLLIN instead of POLLPRI for clip buffer empty
authorghost <andreas.monzner@multimedia-labs.de>
Tue, 16 Jun 2009 16:45:13 +0000 (18:45 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Tue, 16 Jun 2009 16:45:13 +0000 (18:45 +0200)
lib/base/filepush.cpp

index 605ec8a883770eda5b59a6f47675c53d6b9ed659..3412c84a3a0744f8994296172cdf0973ec9cebd8 100644 (file)
@@ -192,7 +192,7 @@ void eFilePushThread::thread()
                                
                                struct pollfd pfd;
                                pfd.fd = m_fd_dest;
                                
                                struct pollfd pfd;
                                pfd.fd = m_fd_dest;
-                               pfd.events = POLLPRI;
+                               pfd.events = POLLIN;
                                poll(&pfd, 1, 10000);
                                sleep(5); /* HACK to allow ES buffer to drain */
                                already_empty = 1;
                                poll(&pfd, 1, 10000);
                                sleep(5); /* HACK to allow ES buffer to drain */
                                already_empty = 1;