1. 28 Jul, 2022 2 commits
  2. 08 Aug, 2022 1 commit
  3. 28 Jul, 2022 5 commits
  4. 08 Aug, 2022 1 commit
  5. 27 Jul, 2022 3 commits
  6. 26 Jul, 2022 12 commits
  7. 25 Jul, 2022 3 commits
  8. 08 Aug, 2022 1 commit
  9. 25 Jul, 2022 1 commit
  10. 22 Jul, 2022 2 commits
    • Allow stream offset passed to GlEffectsFrameProcessor to change. · 9eeb4bc2
      This is needed for applying effects to a playlist.
      
      The effects are applied based on the presentation time of the
      frame in its corresponding media item and the offset is added
      back before encoding.
      
      Each time the offset changes, end of input stream is signalled
      to the texture processors. This is needed because the texture
      processors can expect monotonically increasing timestamp within
      the same input stream but when the offset changes, the timstamps
      jump back to 0.
      
      PiperOrigin-RevId: 462714966
      (cherry picked from commit 30e5bc98)
      hschlueter committed
    • DefaultMediaNotificationProvider: limit requests to load same bitmap · faf1f35f
      The DefaultMediaNotificationProvider caches the last loaded artwork
      bitmap so that the bitmap isn't loaded again when the notification is
      updated, e.g., the player is transiting from playing to paused. However,
      loading bitmap requests for bitmaps that are already being loaded are
      not suppressed. For example, if the notification is updated while the
      artwork is still downloading, the same artwork might be downloaded
      multiple times.
      
      This change suppresses a bitmap load request if the same artwork is
      still being loaded, to avoid additional artwork downloads.
      
      #minor-release
      
      PiperOrigin-RevId: 462572221
      (cherry picked from commit dd2c16bc)
      christosts committed
  11. 21 Jul, 2022 8 commits
    • Refactor unreleased changes in RELEASENOTES.md · 5880fdd5
      #minor-release
      
      PiperOrigin-RevId: 462395554
      (cherry picked from commit 2312c185)
      rohks committed
    • Move release notes for Issue: google/ExoPlayer#10429 to unreleased changes · c77d701e
      #minor-release
      
      PiperOrigin-RevId: 462391856
      (cherry picked from commit 5c41b5a2)
      rohks committed
    • Enable subtitle selection in session demo app · 9cf85c55
      Issue: androidx/media#102
      #minor-release
      PiperOrigin-RevId: 462391045
      (cherry picked from commit 7fa3f993)
      bachinger committed
    • Annotate methods that always return `this` with `@CanIgnoreReturnValue` · 87827942
      It's always safe to ignore the result of these methods, because the
      caller already has a reference to the returned value.
      
      PiperOrigin-RevId: 462388947
      (cherry picked from commit 2deb4356)
      ibaker committed
    • Expand setOutputSurface workaround to more FireOS devices · f4e39246
      Issue: google/ExoPlayer#10454
      PiperOrigin-RevId: 462375294
      (cherry picked from commit 649b70f9)
      olly committed
    • Ensure pending commands are still sent in MediaController.release() · 29246fb1
      We currently clear all pending messages, including the one that flushes
      pending commands to the MediaSession. To ensure all commands that have
      been called before controller.release() are still sent, we can manually
      trigger the flush message from the release call.
      
      Related to handling the final flush because disconnecting the controller,
      MediaSessionStub didn't post the removal of the controller to the
      session thread, creating a race condition between removing the controller
      and actually handling the flush.
      
      Issue: androidx/media#99
      PiperOrigin-RevId: 462342860
      (cherry picked from commit ee209690)
      tonihei committed
    • Slightly disentangle `MediaBrowser/Controller(Impl)Base/Legacy` · 0667c74d
      These constructors are currently very intertwined, passing `this`
      references from the constructor of one to the constructor of another
      before the first constructor is complete (and so the `this` reference
      isn't really valid yet).
      
      This change uses checker framework `@UnderInitialization` and
      `@NotOnlyInitialized` annotations to make it more clear that the
      references are not available yet. For the one 'direct' access needed
      in the second constructor (calling `getApplicationLooper()`) we now
      pass the `applicationLooper` directly alongside (to avoid needing to
      dereference the reference 'too early').
      
      This change also ensures that where a class hierarchy has a
      'dependent' class hierarchy, the 'subclass' instance is always used
      (by both subclass and superclass) without casting or manually hiding
      the superclass field, by defining an overridable `getFoo()` method
      instead and always using it.
      
      #minor-release
      
      PiperOrigin-RevId: 462335043
      (cherry picked from commit 287c7579)
      ibaker committed
    • HDR: Implement HLG EOTF and OETF. · 06d3c07a
      This allows us to use BT.2020 RGB linear for intermediate shaders, which also
      allows us to re-enable PeriodicVignetteProcessor, which should work properly in
      linear color-spaces.
      
      Manually tested by adding a GlEffectsWrapper, and confirming that HLG HDR editing still looks correct.
      
      PiperOrigin-RevId: 462265821
      (cherry picked from commit 2f977eee)
      huangdarwin committed
  12. 20 Jul, 2022 1 commit