diff --git a/libtriple/dmx_td.cpp b/libtriple/dmx_td.cpp index a491879..3c4b1e1 100644 --- a/libtriple/dmx_td.cpp +++ b/libtriple/dmx_td.cpp @@ -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);