In addition to the changes in https://github.com/google/ExoPlayer/commit/b18fb368cca9843aeca2cc4d5a01aa4fa41b4bd7 This change essentially reverts https://github.com/google/ExoPlayer/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 |
|---|---|---|
| .. | ||
| Assertions.java | Loading commit data... | |
| AtomicFile.java | Loading commit data... | |
| BitmapLoader.java | Loading commit data... | |
| BundleUtil.java | Loading commit data... | |
| BundleableUtil.java | Loading commit data... | |
| Clock.java | Loading commit data... | |
| CodecSpecificDataUtil.java | Loading commit data... | |
| ColorParser.java | Loading commit data... | |
| ConditionVariable.java | Loading commit data... | |
| Consumer.java | Loading commit data... | |
| CopyOnWriteMultiset.java | Loading commit data... | |
| DebugViewProvider.java | Loading commit data... | |
| EGLSurfaceTexture.java | Loading commit data... | |
| Effect.java | Loading commit data... | |
| ErrorMessageProvider.java | Loading commit data... | |
| FileTypes.java | Loading commit data... | |
| FlagSet.java | Loading commit data... | |
| FrameInfo.java | Loading commit data... | |
| GlObjectsProvider.java | Loading commit data... | |
| GlProgram.java | Loading commit data... | |
| GlTextureInfo.java | Loading commit data... | |
| GlUtil.java | Loading commit data... | |
| HandlerWrapper.java | Loading commit data... | |
| LibraryLoader.java | Loading commit data... | |
| ListenerSet.java | Loading commit data... | |
| Log.java | Loading commit data... | |
| LongArray.java | Loading commit data... | |
| MediaFormatUtil.java | Loading commit data... | |
| MimeTypes.java | Loading commit data... | |
| NalUnitUtil.java | Loading commit data... | |
| NetworkTypeObserver.java | Loading commit data... | |
| NonNullApi.java | Loading commit data... | |
| NotificationUtil.java | Loading commit data... | |
| ParsableBitArray.java | Loading commit data... | |
| ParsableByteArray.java | Loading commit data... | |
| ParsableNalUnitBitArray.java | Loading commit data... | |
| PriorityTaskManager.java | Loading commit data... | |
| RepeatModeUtil.java | Loading commit data... | |
| RunnableFutureTask.java | Loading commit data... | |
| Size.java | Loading commit data... | |
| SurfaceInfo.java | Loading commit data... | |
| SystemClock.java | Loading commit data... | |
| SystemHandlerWrapper.java | Loading commit data... | |
| TimedValueQueue.java | Loading commit data... | |
| TimestampAdjuster.java | Loading commit data... | |
| TraceUtil.java | Loading commit data... | |
| UnknownNull.java | Loading commit data... | |
| UriUtil.java | Loading commit data... | |
| Util.java | Loading commit data... | |
| VideoFrameProcessingException.java | Loading commit data... | |
| VideoFrameProcessor.java | Loading commit data... | |
| XmlPullParserUtil.java | Loading commit data... | |
| package-info.java | Loading commit data... |