1. 15 Jun, 2022 4 commits
  2. 14 Jun, 2022 4 commits
  3. 13 Jun, 2022 5 commits
  4. 09 Jun, 2022 15 commits
  5. 08 Jun, 2022 2 commits
  6. 07 Jun, 2022 6 commits
    • Use a shared `keyForField` implementation in track selection parameters · a056f08a
      The current setup with distinct, private `keyForField` implementations,
      leaves open the (theoretical) possibility of a clash in the `Bundle`
      keys used by the superclass and subclass. This change brings
      consistency with our only other extensible `Bundleable` type
      (`PlaybackException`).
      
      #minor-release
      
      PiperOrigin-RevId: 453385875
      ibaker committed
    • Rename `DefaultTrackSelector.ParametersBuilder` to `Parameters.Builder` · 88162238
      We generally nest the `Builder` for `Foo` inside `Foo`. In this case,
      there's already a `DefaultTrackSelector.Parameters.Builder` type visible
      to a developer, it just happens to be the 'common'
      `TrackSelectorParameters.Builder`, so using it is a bit weird. For
      example this code snippet doesn't compile because
      `DefaultTrackSelector.Parameters.Builder#build()` returns
      `TrackSelectionParameters`. This CL fixes that problem and the code
      snippet now compiles.
      
      ```java
      DefaultTrackSelector.Parameters params =
         new DefaultTrackSelector.Parameters.Builder(context).build()
      ```
      
      #minor-release
      
      PiperOrigin-RevId: 453215702
      ibaker committed
    • Add interface for async texture processors. · 023d19c8
      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
      hschlueter committed
    • Filter bogus AndroidX Media jar file when creating javadoc · 2441bc69
      #minor-release
      
      PiperOrigin-RevId: 452282128
      bachinger committed
    • Fix `HiddenTypedefConstant` Metalava error on `PlaybackException` · 97210b5a
      This is done by removing the `@FieldNumber` IntDef completely. It's not
      really adding much value anyway, because it's `open` so there's no real
      enforcement to prevent passing 'incorrect' values.
      
      #minor-release
      
      PiperOrigin-RevId: 452108972
      ibaker committed
    • Add async error listener to transformer to avoid exception wrapping. · 960422e3
      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
      hschlueter committed
  7. 31 May, 2022 4 commits