1. 09 Nov, 2021 26 commits
  2. 08 Nov, 2021 7 commits
  3. 27 Oct, 2021 7 commits
    • Elaborate migration info in media3 README · e6242690
      PiperOrigin-RevId: 405909676
      andrewlewis committed
    • Refactor nullness checks in renderers. · 399172d6
      `checkNotNull` should be avoided where possible.
      This change adds `@EnsuresNonNull` or `@EnsuresNonNullIf` to configuration methods for fields they initialize.
      
      `checkNotNull` is now avoided for the `@MonotonicNonNull` formats by adding `@RequiresNonNull` annotations.
      
      `checkNotNull` is now avoided for the encoder and decoder in `feedMuxerFromEncoder()`, `feedEncoderFromDecoder()`, `feedDecoderFromInput()`, etc. by creating local variables for `encoder` and `decoder` in `render` after the configuration method calls and passing these as non-null parameters.
      
      PiperOrigin-RevId: 405893824
      hschlueter committed
    • Remove IntRange from Player.getMediaItemAt · 60a68f88
      No other index-related methods in Player are annotated, it's considered
      obvious that these should be >=0.
      
      PiperOrigin-RevId: 405882756
      ibaker committed
    • Add missing javadoc to new ExoPlayer.Builder constructors · d39ffa5a
      Should have been part of
      <unknown commit>
      
      #minor-release
      
      PiperOrigin-RevId: 405880982
      ibaker committed
    • Remove all references to @NonNull · 9a49a9cc
      Our package-info.java files are annotated with @NonNullApi which results
      in everything being non-null by default, so this annotation is never
      needed.
      
      #minor-release
      
      PiperOrigin-RevId: 405864737
      ibaker committed
    • Move doc-files to new package name · 651985b0
      PiperOrigin-RevId: 405862549
      andrewlewis committed
    • Allow missing full_range_flag in colr box with type=nclx · e8fdab35
      Test file produced with:
      $ MP4Box -add "sample.mp4#video:colr=nclc,1,1,1" -new sample_18byte_nclx_colr.mp4
      
      And then manually changing the `nclc` bytes to `nclx`.
      
      This produces an 18-byte `colr` box with type `nclx`. The bitstream of
      this file does not contain HDR content, so the file itself is invalid
      for playback with a real decoder, but adding the box is enough to test
      the extractor change in this commit.
      
      (aside: MP4Box will let you pass `nclx`, but it requires 4 parameters, i.e. it
      requires the full_range_flag to be set, resulting in a valid 19-byte colr box)
      
      #minor-release
      Issue: #9332
      PiperOrigin-RevId: 405842520
      ibaker committed