libtriple: fix measurement demux speed

Origin commit data
------------------
Branch: master
Commit: 65478d9e85
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-01-23 (Wed, 23 Jan 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2013-01-23 21:31:03 +01:00
parent 113c512807
commit b8f48b0cab

View File

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