mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

Because we now annotate not-null by default in ExoPlayer library modules, we're seeing warnings in the demo apps where we override a method and don't explicitly specify an equivalent @NotNull annotation. It's probably confusing to use not-null by default for the demo apps, so this change uses @NonNull where necessary to fix the warnings. PiperOrigin-RevId: 296000044
ExoPlayer GL demo
This app demonstrates how to render video to a GLSurfaceView while applying a GL shader.
The shader shows an overlap bitmap on top of the video. The overlay bitmap is drawn using an Android canvas, and includes the current frame's presentation timestamp, to show how to get the timestamp of the frame currently in the off-screen surface texture.