mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 07:22:44 +02:00
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:
@@ -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