1. 20 Dec, 2021 12 commits
  2. 16 Dec, 2021 3 commits
  3. 15 Dec, 2021 3 commits
  4. 14 Dec, 2021 12 commits
  5. 13 Dec, 2021 4 commits
  6. 10 Dec, 2021 6 commits
    • Transformer GL: Remove UnsupportedEglVersionException(). · 7d93f2d4
      UnsupportedEglVersionException() is only used once, and seems a bit too
      specific for Transformer. Also, it's possible for eglCreateContext to fail for
      other reasons besides lack of support, so it wasn't always accurate when
      thrown.
      
      It is possible for devices not to support EGL version 2.0 though, per
      https://source.android.com/devices/graphics/implement-opengl-es, which doesn't
      specify the EGL version that must be supported.
      
      PiperOrigin-RevId: 415489396
      huangdarwin committed
    • Make repetitive decode/draw. · 18248733
      tl;dr:
      In the previous transformer, the transcoding flow is
      
      - If a the GL's input surface (from decoder) does not have data, wait 10ms
       (DO_SOME_WORK)
      - Else, make the decoder render **ONE** frame to the GL's input surface
        - Wait at least 10ms, until the frame's texture is available
        - Then process the texture
      
      The process is quite slow, so in the new version, we do:
      - If a the GL's input surface (from decoder) does not have data, wait 10ms
       (DO_SOME_WORK) **same**
      - Else, make the decoder render **as many frames** to the GL's input surface
        - Process **as many** available textures in this DO_SOME_WORK cycle
      
      PiperOrigin-RevId: 415474722
      claincly committed
    • Rollback of https://github.com/google/ExoPlayer/commit/2674e05589730cdc3b55bfb15448253f7868492a · ddf05a94
      *** Original commit ***
      
      Make audio track min buffer size configurable.
      
      Move the code in its own class as DefaultAudioTrack
      is getting very big. It also help for testability.
      
      The new class is easily configurable and highly tested.
      Manual test was used to catch any regression.
      
      https://github.com/google/ExoPlayer/issues/8891
      
      ***
      
      PiperOrigin-RevId: 415469179
      krocard committed
    • Keep orientation information during the transformation. · f3d76e9e
      The input rotation is used to rotate the video during decoding, the
      video is rotated so that it is in landscape orientation before encoding
      and a rotation is added to the output format where necessary so that
      the output video has the same orientation as the input.
      
      PiperOrigin-RevId: 415301328
      hschlueter committed
    • Transformer GL: Explicitly label ignored values. · 69532deb
      Refactor GlUtil.java to be a bit more readable. Also, reorder, inline, and
      rename a few things. Refactoring change only. No functional changes intended.
      
      PiperOrigin-RevId: 415283874
      huangdarwin committed
    • Add some correctness checks to min/max live latency values. · a1061edf
      For DASH manifests, we merge min/max live latency values from various
      sources and they may not be consistent with each other. To ensure we
      use a sensible configuration in all cases, we can add more correctness
      checks:
       1. Limit the min/max values to fall into the available live window.
       2. Ensure that maxLatency >= minLatency in all cases.
      
      Issue: google/ExoPlayer#9750
      PiperOrigin-RevId: 415282938
      tonihei committed