Merge "Add support for timestamps into SurfaceTexture."

This commit is contained in:
Eino-Ville Talvala
2011-03-17 15:52:34 -07:00
committed by Android (Google) Code Review
13 changed files with 163 additions and 20 deletions

View File

@ -623,6 +623,11 @@ public class MediaPlayer
* being played. Note that if a SurfaceTexture is used, the value
* set via setScreenOnWhilePlaying has no effect.
*
* The timestamps provided by {@link SurfaceTexture#getTimestamp()} for a
* SurfaceTexture set as the video sink have an unspecified zero point,
* and cannot be directly compared between different media sources or different
* instances of the same media source, or across multiple runs of the same
* program.
* @hide
*/
public void setTexture(SurfaceTexture st) {