mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-08-05 18:42:00 +00:00
janus: bring back delay between us_memsink_client_get() calls
This commit is contained in:
@@ -170,7 +170,9 @@ static void *_video_sink_thread(void *arg) {
|
|||||||
} else {
|
} else {
|
||||||
US_ONCE({ US_LOG_ERROR("Video ring is full"); });
|
US_ONCE({ US_LOG_ERROR("Video ring is full"); });
|
||||||
}
|
}
|
||||||
} else if (got != US_ERROR_NO_DATA) {
|
} else if (got == US_ERROR_NO_DATA) {
|
||||||
|
usleep(1000);
|
||||||
|
} else {
|
||||||
goto close_memsink;
|
goto close_memsink;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user