1. 31 May, 2022 7 commits
  2. 30 May, 2022 31 commits
  3. 26 May, 2022 2 commits
    • Fix some inconsistencies in the `MediaItem` API · 591eaef7
      * Rename (via deprecation)
        `MediaItem.DrmConfiguration.Builder#forceSessionsForAudioAndVideoTracks`
        to `setForceSessionsForAudioAndVideoTracks`. This is more consistent
        with existing 'force' method names both in this class and in
        `TrackSelectionParameters.Builder`.
      * Add missing `@Nullable` annotation to the parameter for
        `MediaItem.SubtitleConfiguration.Builder#setMimeType`. This annotation
        is already present on the `MediaItem.SubtitleConfiguration#mimeType`
        field that this setter corresponds to.
      
      PiperOrigin-RevId: 450941336
      ibaker committed
    • Skip SSIM calculation on Nexus 5 API 21. · de1dceed
      There is a problem with the ImageReader formats used by the
      SSIM helper that only occurs for Nexus 5 API 21, so as a workaround
      we can skip the SSIM calculation on Nexus 5 API 21.
      
      This skips just the SSIM calculation (by setting the value to
      1.0 instead and logging). The tests still run when SSIM is skipped
      so that we can detect other failures.
      
      PiperOrigin-RevId: 450903183
      hschlueter committed