In addition to the changes in https://github.com/androidx/media/commit/3a5c4277a7679c488992d707142a7ad81e6de3ff This change essentially reverts https://github.com/androidx/media/commit/30e5bc9837e2423cd2bb426c5797211e0f6ad76b (Merged Jul 2022). From this CL on, `VideoFrameProcessor` takes in non-offset, monotonically increasing timestamps. For example, with one 5s and one 10s video, - `VideoFrameProcessor`'s input should start from 0 - On switching to the second video (10s), the timestamp of the first frame in the second video should be at 5s. In ExoPlayer however, `streamOffset` is managed differently and thus needs correction before sending the frames to `VideoFrameProcessor`: - The timestamp of the first video is offset by a large int, so the first frame of the first media item has timestamp (assuming) 10000000000000000 - The last frame of the first media item has 10000005000000000 - At this point the stream off set is updated to 10000005000000000 - The pts of the first frame of the second video starts from 0 again. PiperOrigin-RevId: 523444236
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| BaseGlShaderProgram.java | Loading commit data... | |
| BitmapOverlay.java | Loading commit data... | |
| BitmapUtil.java | Loading commit data... | |
| Brightness.java | Loading commit data... | |
| ChainingGlShaderProgramListener.java | Loading commit data... | |
| ColorLut.java | Loading commit data... | |
| ColorLutShaderProgram.java | Loading commit data... | |
| Contrast.java | Loading commit data... | |
| ContrastShaderProgram.java | Loading commit data... | |
| Crop.java | Loading commit data... | |
| DefaultShaderProgram.java | Loading commit data... | |
| DefaultVideoFrameProcessor.java | Loading commit data... | |
| DrawableOverlay.java | Loading commit data... | |
| ExternalShaderProgram.java | Loading commit data... | |
| ExternalTextureManager.java | Loading commit data... | |
| FinalShaderProgramWrapper.java | Loading commit data... | |
| FrameCache.java | Loading commit data... | |
| FrameCacheGlShaderProgram.java | Loading commit data... | |
| GlEffect.java | Loading commit data... | |
| GlMatrixTransformation.java | Loading commit data... | |
| GlShaderProgram.java | Loading commit data... | |
| HslAdjustment.java | Loading commit data... | |
| HslShaderProgram.java | Loading commit data... | |
| InternalTextureManager.java | Loading commit data... | |
| MatrixTransformation.java | Loading commit data... | |
| MatrixUtils.java | Loading commit data... | |
| OverlayEffect.java | Loading commit data... | |
| OverlaySettings.java | Loading commit data... | |
| OverlayShaderProgram.java | Loading commit data... | |
| Presentation.java | Loading commit data... | |
| RgbAdjustment.java | Loading commit data... | |
| RgbFilter.java | Loading commit data... | |
| RgbMatrix.java | Loading commit data... | |
| ScaleAndRotateTransformation.java | Loading commit data... | |
| SingleColorLut.java | Loading commit data... | |
| SingleFrameGlShaderProgram.java | Loading commit data... | |
| TextOverlay.java | Loading commit data... | |
| TextureOverlay.java | Loading commit data... | |
| TimestampWrapper.java | Loading commit data... | |
| TimestampWrapperShaderProgram.java | Loading commit data... | |
| VideoFrameProcessingTask.java | Loading commit data... | |
| VideoFrameProcessingTaskExecutor.java | Loading commit data... | |
| package-info.java | Loading commit data... |