libtriple: fix measurement demux speed

This commit is contained in:
Stefan Seyfried
2013-01-23 21:31:03 +01:00
parent 5cb4a9d274
commit 65478d9e85

View File

@@ -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);