- 07 Jul, 2022 2 commits
- 27 Jun, 2022 18 commits
-
-
1. The offloadSchedulingEnabled value doesn't need to be in PlaybackInfo because it's never updated in EPII. 2. The sleepingForOffload value in EPII wasn't updated explicitly (just via the return value of a method). It was also only meant to be enabled while the player is actively playing, but confusingly triggered from a path where the player may theoretically be buffering as well. 3. The offload sleeping (=not scheduling doSomeWork) was interwoven into the actual scheduling code making it slightly hard to follow. This can be improved slightly by keeping the offload sleeping decision and the scheduling separate. PiperOrigin-RevId: 457427293
tonihei committed -
This was likely missed in https://github.com/google/ExoPlayer/commit/33373d0d0a159ad9c9c3590c838098c4c1530910. PiperOrigin-RevId: 457422574
tonihei committed -
PiperOrigin-RevId: 457023382
hschlueter committed -
This will be useful for downgrading to a lower resolution during a slow preview and for processing slide-shows once sequential multi-asset editing is supported. PiperOrigin-RevId: 457017255
hschlueter committed -
- Corrected trackEventBytes traversal in TrackChunk where the array position marker was not incremented properly, leading to duplicate sample output. - Amended TrackEvent "Meta Event" parsing to account for the length of variable length bytes. - Fixed a bug with TrackEvent message parsing where message data was parsed incorrectly due to miscalculated length. PiperOrigin-RevId: 456967968
hmzh committed -
PiperOrigin-RevId: 456814150
hschlueter committed -
videoEncoderFormatUnsupported_completesWithError() has recently been flaky on API 31 emulators on presubmit because a different exception than the expected exception is thrown. This disables it on those emulators to reduce testing noise until the underlying problem is investigated and resolved. PiperOrigin-RevId: 456765512
hschlueter committed -
PiperOrigin-RevId: 456753343
olly committed -
This change is just renaming. There is no functional change intended. The FrameProcessor interface will be created in a follow-up. PiperOrigin-RevId: 456741628
hschlueter committed -
PiperOrigin-RevId: 456728032
samrobinson committed -
`TextRenderer` is updated to output `CueGroup`, which contains the presentation time of the cues, in microseconds. PiperOrigin-RevId: 456531399
rohks committed -
After this change GlEffects can use any GlTextureProcessor not just SingleFrameGlTextureProcessor. MediaPipeProcessor now implements GlTextureProcessor directly which allows it to reuse MediaPipe's output texture for its output texture and avoids an extra copy shader step. PiperOrigin-RevId: 456530718
hschlueter committed -
After this change, FrameProcessorChain chains any GlTextureProcessors instead of only SingleFrameGlTextureProcessors. The GlTextureProcessors are chained in a bidirectional manner using ChainingGlTextureProcessorListener to feed input and output related events forward and release events backwards. PiperOrigin-RevId: 456478414
hschlueter committed -
The offload sleeping stops as soon as a new DO_SOME_WORK message is handled (because this indicates an expected change in rendering and we want to stop sleeping until we know it's safe to do so). Every exit path from doSomeWork needs to clear other pending DO_SOME_WORK messages as these requests have already been handled by the current method invocation. This currently doesn't happen from the offload sleeping return path and a previously queued DO_SOME_WORK message can immediately wake up the rendering loop again. Fix this by moving the message removal to the beginning of the doSomeWork method (as it prevents forgetting it in one of the exit paths later). PiperOrigin-RevId: 456259715
tonihei committed -
Issue: google/ExoPlayer#10316 PiperOrigin-RevId: 456084302
olly committed -
PiperOrigin-RevId: 456064021
huangdarwin committed -
This is useful for testing Transformer in the same way as it is used in tests and to see only the real transformation time. PiperOrigin-RevId: 456058466
hschlueter committed -
In follow-ups the FrameProcessorChain will set an instance of this listener for each GlTextureProcessor to chain it with its previous and next GlTextureProcesssor. PiperOrigin-RevId: 455628942
hschlueter committed
-
- 16 Jun, 2022 7 commits
-
-
#minor-release PiperOrigin-RevId: 455380010
christosts committed -
#minor-release PiperOrigin-RevId: 455372269
bachinger committed -
#minor-release PiperOrigin-RevId: 455361427
bachinger committed -
Fixing lint errors in the string.xml files makes no sense because these are overridden with the next automated string import. Adding a lint-baseline.xml instead for the ui module. See https://issuetracker.google.com/208178382 #minor-release PiperOrigin-RevId: 455354304
bachinger committed -
#minor-release PiperOrigin-RevId: 455350486
bachinger committed -
PiperOrigin-RevId: 455347182
Marc Baechinger committed -
The wrapper * catches exceptions for each task and notifies the listener (this will be used more in follow-ups when processFrame is split into lots of listeners and callbacks), * removes finished tasks from the queue and signals any exceptions that occurred to the listener each time a new task is executed. PiperOrigin-RevId: 455345184
hschlueter committed
-
- 15 Jun, 2022 13 commits
-
-
PiperOrigin-RevId: 455157744
christosts committed -
#minor-release PiperOrigin-RevId: 455140203
tonihei committed -
Issue: google/ExoPlayer#10287 PiperOrigin-RevId: 455131138
olly committed -
#minor-release PiperOrigin-RevId: 455128997
bachinger committed -
PiperOrigin-RevId: 455121899
olly committed -
PiperOrigin-RevId: 455114693
hschlueter committed -
This change adds a SurfaceProvider interface which is necessary to allow for texture processors whose output size becomes available asynchronously in follow-ups. VTSP's implementation of this interface wraps the encoder and provides its input surface together with the output frame width, height, and orientation as used for encoder configuration. The FrameProcessorChain converts the output frames to the provided orientation and resolution using a ScaleToFitTransformation and Presentation replacing EncoderCompatibilityTransformation. PiperOrigin-RevId: 455112598
hschlueter committed -
- Fixed MidiExtractor state issues which caused seeking to behave unexpectedly. Ensures the extractor is now always in the file loading state after returning RESULT_END_OF_INPUT. - Fixed an infinite loop in MidiExtractor caused by the file data array having an initial size of 0. The extractor attempted to increase the capacity of the array by using this size of 0 in it's calculations. PiperOrigin-RevId: 455107511
hmzh committed -
PiperOrigin-RevId: 455094147
Marc Baechinger committed -
PiperOrigin-RevId: 454951844
bachinger committed -
See https://issuetracker.google.com/208178382 PiperOrigin-RevId: 454949204
bachinger committed -
PiperOrigin-RevId: 454945333
bachinger committed -
PiperOrigin-RevId: 454939082
bachinger committed
-