1. 25 Nov, 2022 3 commits
  2. 24 Nov, 2022 13 commits
  3. 23 Nov, 2022 3 commits
  4. 22 Nov, 2022 16 commits
  5. 21 Nov, 2022 5 commits
    • Version bump to exoplayer:2.18.2 and media3:1.0.0-beta03 · ca190c08
      #minor-release
      
      PiperOrigin-RevId: 489959918
      michaelkatz committed
    • Destroy eglSurface in FrameProcessor · 47d63504
      Previously, FrameProcessor never had the usecase in which the output surface
      is replaced, while previewing introduced this usecase.
      
      When switching output surfaces, we need to destroy the EGL Surface linked to the
      surface that is being swapped out, because an EGL surface is linked to the EGL
      display (which is not destroyed even when releasing FrameProcessor).
      
      A GL exception will be thrown in the following scenario if we don't destroy the
      EGL surface:
      
      1. Creates a Surface, the surface is identified by address 0x11
      2. Sets Surface(0x11) on FrameProcessor. Eventually an EGL surface is created
        to wrap Surface(0x11)
      3. Release FrameProcess, this releases the EGL context
      4. Instantiate a new FrameProcessor, sets Surface(0x11) as the output
      5. When FrameProcessor creates an EGL surface to wrap Surface(0x11), GL throws
        an exception, becasue Surface(0x11) has previouly been connected to an EGL
        surface.
      
      PiperOrigin-RevId: 489590072
      claincly committed
    • Add remaining state and getters to SimpleBasePlayer · b81cd082
      This adds the full Builders and State representation needed to
      implement all Player getter methods and listener invocations.
      
      PiperOrigin-RevId: 489503319
      tonihei committed
    • Build TransformationResult only when transformation succeeded · 19bf020d
      PiperOrigin-RevId: 489442518
      kimvde committed
    • Pass correct frame size for passthrough playback · d9d71686
      When estimating the AudioTrack min buffer size, we must use a PCM
      frame of 1 when doing direct playback (passthrough). The code was
      passing -1 (C.LENGTH_UNSET).
      
      PiperOrigin-RevId: 489238392
      christosts committed