OSDN Git Service

mediaplayer: limit scheduling video frames into the future
authorLajos Molnar <lajos@google.com>
Tue, 21 Oct 2014 00:47:54 +0000 (17:47 -0700)
committerLajos Molnar <lajos@google.com>
Tue, 21 Oct 2014 04:04:33 +0000 (21:04 -0700)
commitd5923409bbcbb22954a92c2b497ef4492d7cb6a5
treea1ace41b85fb97ea4e496e136abaacad91e69f09
parenteecb7805bbbb712925d4372c505f8c7f5c4fb5ed
mediaplayer: limit scheduling video frames into the future

This addresses when video timestamps jumps before an audio timestamp,
but still works on slideshow video clips (<=1fps).

This, however, will not skip time-changes on video-only live video
streams, as we cannot distinguish live slideshow video clips from
non-slideshow ones.

Bug: 18032127
Change-Id: I959a714edfe1c8cf3b84704c693dcd1b3e5b7855
media/libmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
media/libmediaplayerservice/nuplayer/NuPlayerRenderer.h