1. 18 Apr, 2023 15 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 1 commit
    • 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