mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +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 (measure)
|
||||||
{
|
{
|
||||||
|
if (timeout)
|
||||||
|
usleep(timeout * 1000);
|
||||||
uint64_t now;
|
uint64_t now;
|
||||||
struct timespec t;
|
struct timespec t;
|
||||||
clock_gettime(CLOCK_MONOTONIC, &t);
|
clock_gettime(CLOCK_MONOTONIC, &t);
|
||||||
|
Reference in New Issue
Block a user