1. 23 Jun, 2022 1 commit
  2. 22 Jun, 2022 3 commits
  3. 20 Jun, 2022 2 commits
  4. 17 Jun, 2022 1 commit
  5. 16 Jun, 2022 1 commit
  6. 15 Jun, 2022 4 commits
  7. 13 Jun, 2022 2 commits
  8. 10 Jun, 2022 2 commits
  9. 09 Jun, 2022 3 commits
  10. 08 Jun, 2022 3 commits
  11. 06 Jun, 2022 1 commit
    • Add interface for async texture processors. · 84b46c10
      Implementations of this interface will be able to drop or add frames,
      change timestamps, accept multiple input frames before producing
      output, and process frames on their own background thread.
      
      A default implementation of this interface will be added to SingleFrameGlTextureProcessor in a follow-up.
      
      PiperOrigin-RevId: 453159835
      (cherry picked from commit 023d19c8)
      hschlueter committed
  12. 31 May, 2022 2 commits
    • Add async error listener to transformer to avoid exception wrapping. · a04cc94a
      This internal listener avoids wrapping the TransformationExceptions
      in PlaybackExceptions that are handled via the Player.Listener and
      is also used for FrameProcessingExceptions which already avoided
      the PlaybackException layer previously.
      
      This listener will also be useful in follow-ups for encoder-related
      TransformationExceptions that are thrown in the SurfaceProvider that
      will be called on the GL thread.
      
      PiperOrigin-RevId: 452074575
      (cherry picked from commit 960422e3)
      hschlueter committed
    • Move program initialization to texture processor constructor. · 23b0610a
      Once the more advanced GlTextureProcessor interface exists,
      it will be possible to change the output size of a GlTextureProcessor
      between frames. To keep the re-configuration based on the frame sizes
      minimal, things indepedent of the frame size, such as the GlProgram,
      can be initialized in the constructor.
      
      PiperOrigin-RevId: 451997584
      (cherry picked from commit 54d44d38)
      hschlueter committed
  13. 30 May, 2022 1 commit
  14. 22 Jul, 2022 1 commit
  15. 21 Jul, 2022 1 commit
  16. 15 Jul, 2022 2 commits
  17. 13 Jul, 2022 2 commits
  18. 12 Jul, 2022 2 commits
    • Add migration script · 9b7674ab
      Note: This was already reviewed in <unknown commit>. This doesn't mean we cannot apply further changes though.
      PiperOrigin-RevId: 460542835
      (cherry picked from commit d59334c5)
      bachinger committed
    • Don't set the tag in CastTimeline · 268de237
      Leaving the media item that has been passed in unchanged, ensures that the
      media item in the timeline is equal to the media item that the user has
      passed into the player. The value of the tag is the uid of the window,
      meaning this is redundant information.
      
      #minor-release
      
      PiperOrigin-RevId: 460542246
      (cherry picked from commit 9d87c0db)
      bachinger committed
  19. 13 Jul, 2022 1 commit
  20. 12 Jul, 2022 2 commits
  21. 11 Jul, 2022 2 commits
    • Use the public MediaItem in the timeline of CastPlayer · 05e42ebb
      The media item needs to be assigned to `Window.mediaItem` in `CastTimeline.setWindow`. For this the `MediaItem` needs to be available in the timeline.
      
      When a `MediaItem` is passed to the `set/addMediaItems` method, we can't yet know the Cast `MediaQueueItem.itemId` that is generated on the device and arrives with an async update of the `RemoteMediaClient` state. Hence in the `CastTimelineTracker`, we need to store the `MediaItem` by Casts's `MediaItem.contentId`. When we then receive the updated queue, we look the media item up by the content ID to augment the `ItemData` that is available in the `CastTimeline`.
      
      Issue: androidx/media#25
      Issue: google/ExoPlayer#8212
      
      #minor-release
      
      PiperOrigin-RevId: 460325235
      (cherry picked from commit 02e1484e)
      bachinger committed
    • Listen to playWhenReady changes in LeanbackPlayerAdapter · 36a99cb1
      #minor-release
      
      Issue: google/ExoPlayer#10420
      PiperOrigin-RevId: 460223064
      (cherry picked from commit c43d9f5b)
      christosts committed
  22. 07 Jul, 2022 1 commit