Commit 6ae886f5 authored by François Grisez's avatar François Grisez
Browse files

Fix presentation timestamp computation.

parent 042ed0e0
......@@ -295,7 +295,7 @@ void MediaCodecDecoderFilterImpl::process() {
struct timespec ts;
clock_gettime(CLOCK_MONOTONIC, &ts);
uint64_t tsMs = (ts.tv_nsec / 1000000ULL) + 10ULL;
uint64_t tsMs = (ts.tv_sec * 1000ULL) + (ts.tv_nsec / 1000000ULL) + 10ULL;
requestPli = !_codec->feed(&frame, tsMs);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment