mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libtriple: fix measurement demux speed
This commit is contained in:
@@ -245,6 +245,8 @@ int cDemux::Read(unsigned char *buff, int len, int timeout)
|
||||
|
||||
if (measure)
|
||||
{
|
||||
if (timeout)
|
||||
usleep(timeout * 1000);
|
||||
uint64_t now;
|
||||
struct timespec t;
|
||||
clock_gettime(CLOCK_MONOTONIC, &t);
|
||||
|
Reference in New Issue
Block a user