[vls-devel] Patch for no admin interface problem

Andrew de Quincey adq_dvb at lidskialf.net
Fri Mar 7 22:15:25 CET 2003


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 <postmaster at videolan.org>



More information about the vls-devel mailing list