mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-18 22:00:00 +01:00
insert waittime in net stream to reduce cpu hog
git-svn-id: svn://code.dyne.org/veejay/trunk@909 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
@@ -112,7 +112,7 @@ void *reader_thread(void *data)
|
||||
retrieve = 1;
|
||||
}
|
||||
|
||||
int wait_time = 0;
|
||||
int wait_time = 15000;
|
||||
|
||||
if(!error && retrieve)
|
||||
{
|
||||
@@ -127,7 +127,7 @@ void *reader_thread(void *data)
|
||||
}
|
||||
else
|
||||
{
|
||||
wait_time = 1000;
|
||||
wait_time += 1000;
|
||||
}
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user