1. 30 Apr, 2021 9 commits
  2. 29 Apr, 2021 7 commits
  3. 28 Apr, 2021 6 commits
  4. 27 Apr, 2021 13 commits
  5. 26 Apr, 2021 5 commits
    • Add missing removeDrmEventListener calls. · 45616f91
      We remove other source related listeners if a MediaSource is
      removed from the playlist or the player/source is released.
      This isn't currently done for the DRM listener.
      
      #minor-release
      
      PiperOrigin-RevId: 370482571
      tonihei committed
    • DebugMediaCodecVideoRenderer: expect output format change after flush · 7af95230
      The DebugMediaCodecVideoRenderer expects the MediaCodec to return an
      output format change after the MediaCodecRenderer detects an input
      format change, but the DebugMediaCodecVideoRenderer resets its state
      after flushing MediaCodec. This does not cover the following case: an
      input format change is detected when queueing sample with timestamp X
      and before the respective output buffer is dequeued, the player seeks
      back to X. After seeking back to X, the MCR does not trigger an input
      format change for X again, and MediaCodec (correctly) returns an output
      format change before dequeueing output X.
      
      This commit is changing DebugMediaCodecVideoRenderer to keep expecting
      an output format change after a flush, is one a format pending output.
      Such an an edge-case is addressed already in MediaCodecRenderer.
      
      PiperOrigin-RevId: 370482506
      christosts committed
    • Merge pull request #8851 from abeljim:dev-v2-8435-underlinestrikeout · ed5ec4e8
      PiperOrigin-RevId: 370474795
      Andrew Lewis committed
    • MediaCodecRenderer: do not call protected methods from constructor · a162d689
      MediaCodecRenderer is calling its protected methods
      resetCodecStateForRelease() and resetCodecStateForFlush() from its
      constructor. Classess that override the methods (eg.
      DebugMediaCodecVideoRenderer) need to checks if the methods
      are called from the superclass constructor thus their members are not
      initialized yet.
      
      With this change, the MCR constructor does not call the two
      methods and sets the respective state directly on its fields.
      
      PiperOrigin-RevId: 370445978
      christosts committed
    • Change String MediaMetadata.title to CharSequence trackTitle. · 3f3d1fb5
      PiperOrigin-RevId: 370439509
      samrobinson committed