media/library
andrewlewis beccfaba3b Avoid buffers used by OpenGL getting GC'ed
The `GlUtil` wrappers for attributes/uniforms allocate buffers that are passed into OpenGL, and it seems that the distorted output was caused by these buffers being garbage collected.

The issue was difficult to reproduce manually. Add a test that does repeated transcodes in a loop (marked `@Ignore` for now because it runs for a long time and requires network access so may be flaky) to make it easier to run many transcodes and look for inconsistent output. For now the consistency check is just based on the file size which is very likely to change if the actual video frames change.

Verified that the test fails before, and passes once the attributes and uniforms are stored in fields as in this CL.

PiperOrigin-RevId: 410581706
2021-11-18 13:47:36 +00:00
..
all Add database module 2021-10-26 14:19:43 +01:00
common Populate ICY headers into MediaMetadata 2021-11-18 13:13:27 +00:00
core Set LogSessionId on MediaCodec. 2021-11-18 13:31:10 +00:00
dash Add parsed essential/supplemental properties to the Representation. 2021-11-15 14:52:25 +00:00
database Add database module 2021-10-26 14:19:43 +01:00
datasource Remove null keys from DefaultHttpDataSource#getResponseHeaders 2021-11-18 13:17:40 +00:00
decoder Make package in test manifest consistent 2021-10-29 11:35:26 +01:00
extractor Populate ICY headers into MediaMetadata 2021-11-18 13:13:27 +00:00
hls HLS: Merge muxedAudioFormat into primary audio tracks 2021-11-16 16:17:34 +00:00
rtsp Fix sequence number calculation logic. 2021-11-18 13:35:13 +00:00
smoothstreaming Add @Deprecated to MediaSourceFactory deprecated overrides 2021-11-08 14:41:45 +00:00
transformer Avoid buffers used by OpenGL getting GC'ed 2021-11-18 13:47:36 +00:00
ui Remove disabled types in StyledPlayerControlView when selecting tracks. 2021-11-16 16:22:09 +00:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.