1. 10 Dec, 2021 1 commit
  2. 07 Dec, 2021 30 commits
  3. 02 Dec, 2021 9 commits
    • Prohibit duplicate TrackGroups in TrackGroupArray · 417c2426
      Allowing duplicate groups caused some other code working with the
      array to use reference equality comparison. This is error-prone,
      easily forgotten (e.g. when using the TrackGroups in a map) and
      causes bugs when TrackGroups are serialized to disk or to another
      process.
      
      All TrackGroups created by ExoPlayer are already unique and custom
      code creating TrackGroupArrays with identical groups can easily
      distringuish them by adding an id to each group.
      
      Issue: google/ExoPlayer#9718
      PiperOrigin-RevId: 413617005
      tonihei committed
    • Update javadoc to reflect removal of WebM container option · e077edde
      It seems fine to remove the documentation about the WebM case now we are only supporting unfragmented MP4, so that new users coming to this API aren't confused about how to set the container MIME type.
      
      PiperOrigin-RevId: 413611472
      andrewlewis committed
    • Add optional id to TrackGroup. · f1a5825d
      This allows to give TrackGroups an identifier. The underlying goal is
      to provide a way to make otherwise identical TrackGroups
      distinguishable.
      
      Also set this id in all internal sources that may produce identical
      TrackGroups in certain edge cases.
      
      Issue: google/ExoPlayer#9718
      PiperOrigin-RevId: 413430719
      tonihei committed
    • Transformer GL: Create setTransformationMatrix(). · 73ed4820
      Allows a transformation matrix to be input into Transformer,
      to apply vertex transformations like cropping, rotation,
      and other transformations built into android.graphics.Matrix.
      
      Not building out into a VertexTransformation class yet, as
      that class structure wouldn't make sense until we can modify
      resolution, per TODOs.
      
      PiperOrigin-RevId: 413384409
      huangdarwin committed
    • Increase transformer min API version to 21 · a8036046
      This will remove the need to implement compat code handling very old API
      versions where some symbols are not available, and it reduces the burden of
      dealing with media framework issues around concurrent codec usage that are
      worse on older API versions. Top apps that we've surveyed as potential users
      for transformer library features are using API 21 or later.
      
      PiperOrigin-RevId: 413341540
      andrewlewis committed
    • Fix 1 ErrorProneStyle finding · 6f637013
      PiperOrigin-RevId: 413188534
      olly committed
    • Flip input buffer even if the end of stream is reached. · 8105394a
      Sometimes the empty end of stream buffer has a non-zero
      data limit. Calling flip first, resets the limit to the
      position which is zero in these cases.
      
      PiperOrigin-RevId: 413156455
      hschlueter committed
    • Add unit test for `FrameEditor` · 1b25e2f9
      The test extracts and decodes the first video frame in the test media, renders it to the frame editor's input surface and then processes data. It then reads back the output from the frame editor, converts it to a bitmap and then compares that with a 'golden' bitmap (which is just the same as the test media's first video frame).
      
      PiperOrigin-RevId: 413131811
      andrewlewis committed
    • Add "3" into media3 version string · b91db3f5
      PiperOrigin-RevId: 413079384
      olly committed