Patch for no admin interface problem

Andrew de Quincey <[email protected]>
Newsgroups gmane.comp.video.videolan.vls.devel
Message-ID <[email protected]>
Hi, if you configure vls with no admin interface, it uses 100% of the CPU 
time. It uses the "dummy interface" if there is no configured admin 
interface, and that contains a busy loop. Here is a patch to fix it.

--- CUT HERE---
Index: src/modules/dummyinterface/dummyinterface.cpp
===================================================================
RCS file: 
/var/cvs/videolan/vls/src/modules/dummyinterface/dummyinterface.cpp,v
retrieving revision 1.1
diff -r1.1 dummyinterface.cpp
130c130,132
<   while(1);
---
>   while(1) {
>      sleep(5000);
>   }
--- CUT HERE---


-- 
adq
-- 
This is the vls-devel mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.