Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Patching streamdev for 1.3.18
Gerald Raaf <Gerald.Raaf@allrun.de> writes:
> try it this way
>
> TimeoutMs -= time_ms() - st; -> TimeoutMs -= int(cTimeMS::Now()) - st;
and old st=time_ms() -> st=cTimeMS::Now()
( static uint64 Now(void); )
Or you can use the Elapsed method.
var=time_ms(); stuff...; elapsed=time_ms()-var; =>
cTimeMs var; stuff...; elapsed=var.Elapsed();
so st=time_ms(); stuff...: TimeoutMs -= time_ms() - st; could be
written: cTimeMS st; stuff...; TimeoutMs-=var.Elapsed();
--
Home |
Main Index |
Thread Index