mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 22:32:06 +01:00
Delay Reduced
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8183 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
5dbf96d109
commit
3e5cfc0a25
1 changed files with 2 additions and 2 deletions
|
@ -209,9 +209,9 @@ public class ImageTransmitter implements Runnable {
|
||||||
trace = (System.currentTimeMillis() - trace);
|
trace = (System.currentTimeMillis() - trace);
|
||||||
System.out.println("Loop Time:" + trace);
|
System.out.println("Loop Time:" + trace);
|
||||||
|
|
||||||
if (trace < 1000) {
|
if (trace < 500) {
|
||||||
try {
|
try {
|
||||||
Thread.sleep(1000 - trace);
|
Thread.sleep(500 - trace);
|
||||||
}
|
}
|
||||||
catch (InterruptedException e) {
|
catch (InterruptedException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
Loading…
Reference in a new issue