1. 18 Apr, 2023 13 commits
  2. 05 Apr, 2023 1 commit
  3. 22 Mar, 2023 1 commit
  4. 14 Mar, 2023 9 commits
  5. 03 Mar, 2023 1 commit
  6. 02 Mar, 2023 12 commits
  7. 28 Feb, 2023 3 commits
    • Ensure output format is updated in sync with stream changes. · 38639e5a
      MediaCodecRenderer currently has two independent paths to trigger
      events at stream changes:
       1. Detection of the last output buffer of the old stream to trigger
          onProcessedStreamChange and setting the new output stream offset.
       2. Detection of the first input buffer of the new stream to trigger
          onOutputFormatChanged.
      Both events are identical for most media. However, there are two
      problematic cases:
        A. (1) happens after (2). This may happen if the declared media
           duration is shorter than the actual last sample timestamp.
        B. (2) is too late and there are output samples between (1) and (2).
           This can happen if the new media outputs samples with a timestamp
           less than the first input timestamp.
      
      This can be made more robust by:
       - Keeping a separate formatQueue for each stream to avoid case A.
       - Force outputting the first format after a stream change to
         avoid case B.
      
      Issue: google/ExoPlayer#8594
      
      #minor-release
      
      PiperOrigin-RevId: 512586838
      (cherry picked from commit a02c8d85)
      tonihei committed
    • Add workaround for wrong PerformancePoints on some devices. · 095a0b5e
      Some devices were reported to have wrong PerformancePoint sets
      that cause 60 fps to be marked as unsupported even though they
      are supported.
      
      Issue: google/ExoPlayer#10898
      
      #minor-release
      
      PiperOrigin-RevId: 512580395
      (cherry picked from commit 04f0cc94)
      tonihei committed
    • Correctly update output info if previous stream has been fully rendered · f5c69672
      The output info for a new stream is marked pending until the last
      sample of the previous stream has been processed. However, this fails
      if the previous stream has already been fully processed. We need to
      detect this case explicitly to avoid signalling the output change one
      sample too late.
      
      #minor-release
      
      PiperOrigin-RevId: 512572854
      (cherry picked from commit 39935d7f)
      tonihei committed