1. 13 Jun, 2022 2 commits
    • Combine all native GL errors in a GlException instead of logging. · d6a6b447
      The native GL errors are in an arbitrary order according to
      https://www.khronos.org/registry/OpenGL-Refpages/es2.0/xhtml/glGetError.xml
      This means any of them could contain the most useful message
      so it's better to use all for the GlException's message rather than
      picking the last message and logging all others.
      
      PiperOrigin-RevId: 454130460
      hschlueter committed
    • Ensure `DRAIN_ACTION_FLUSH_AND_UPDATE_DRM_SESSION` is always executed · 222faa96
      `codecDrainAction` is set to `DRAIN_ACTION_NONE` in 3 places in
      `MediaCodecRenderer`:
      * The constructor (so there's no prior state to worry about)
      * `updateDrmSessionV23()`: Where `mediaCrypto` is reconfigured based
        on `sourceDrmSession` and `codecDrmSession` is also updated to
        `sourceDrmSession`.
      * `resetCodecStateForFlush()`: Where (before this change) the action
        is unconditionally set back to `DRAIN_ACTION_NONE` and so any
        required updated implied by
        `DRAIN_ACTION_FLUSH_AND_UPDATE_DRM_SESSION` is not done.
      
      This change ensures that `flushOrReleaseCodec()` handles
      `DRAIN_ACTION_FLUSH_AND_UPDATE_DRM_SESSION` before calling .
      
      This probably also resolves Issue: google/ExoPlayer#10274
      
      #minor-release
      
      PiperOrigin-RevId: 454114428
      ibaker committed
  2. 09 Jun, 2022 17 commits
  3. 07 Jun, 2022 10 commits
  4. 31 May, 2022 8 commits
  5. 30 May, 2022 3 commits