1. 28 Jan, 2022 7 commits
    • Move playback speed update at period transitions to reading period. · 939643af
      In some cases we need to update the PlaybackParameters at period
      boundaries, for example when switching from live to VOD and live
      playback speed adjustment was still active at the point of switching.
      
      Currently, we send the update when the playing MediaPeriod changes in
      EPII, which is slightly too late because the new speed gets only applied
      after the entire existing AudioTrack buffer has been played out.
      
      We can time the update slightly better by updating the values at the
      point where we change the reading period. This makes the update slightly
      too early because it also applies to all samples currently in the
      decoder. But generally, this is a lot better because the time spent
      in the decoder is likely to be considerably lower than the duration of
      the AudioTrack buffer.
      
      Note that this change isn't perfectly aligning to the period boundary,
      but reduces the number of samples with the wrong speed to a minimum.
      If we are getting around to add additional code that allows updating
      the speed at exactly the boundary, it also needs to be triggered from
      the reading period update, so the new code location is also helpful in
      the future.
      
      Issue: google/ExoPlayer#9018
      PiperOrigin-RevId: 424540551
      tonihei committed
    • Wrap expression in paranthesis · 0b683720
      When I locally link to exoplayer source modules as described in the README and I
      do this directly into a fig/citc client, I get an error saying
      "missing_aar_type_workaround.gradle': 79: unexpected token: || @ line 79, column
      29.". I can fix this by wrapping the expression in parenthesis (¯\_(ツ)_/¯).
      
      I don't think this file lands in the public source tree, but if we want to
      correct this, it may help someone from the team.
      
      This CL can be ignored and reverted also.
      
      PiperOrigin-RevId: 424537619
      bachinger committed
    • Fix some lint warnings · d2cc14a9
      PiperOrigin-RevId: 424383900
      olly committed
    • Merge pull request #9893 from moneytoo:mkv-vtt · 497f55a4
      PiperOrigin-RevId: 424382031
      Andrew Lewis committed
    • Merge pull request #9864 from OxygenCobalt:vorbis-comments · b2152f19
      PiperOrigin-RevId: 424355325
      Andrew Lewis committed
    • Apply suggested AVC profile depending on the API version. · 2ed1deb5
      PiperOrigin-RevId: 424322341
      claincly committed
  2. 25 Jan, 2022 33 commits