1. 21 Oct, 2022 1 commit
  2. 24 Oct, 2022 2 commits
  3. 20 Oct, 2022 2 commits
  4. 19 Oct, 2022 5 commits
  5. 20 Oct, 2022 1 commit
  6. 19 Oct, 2022 1 commit
  7. 18 Oct, 2022 7 commits
  8. 17 Oct, 2022 2 commits
  9. 14 Oct, 2022 5 commits
  10. 20 Oct, 2022 1 commit
  11. 13 Oct, 2022 4 commits
    • Ensure sessions without MediaPeriodId are ended after seek to new item · b3627361
      We already have logic to end all session except the current one if the
      current one doesn't have a MediaPeriodId yet. This is assuming that this
      only happens after a seek on the app side where the player doesn't have
      detailled knowledge about the MediaPeriodIds yet.
      
      Currently this logic isn't triggered if the window we are coming from
      doesn't have its MediaPeriodId either as we run into another check that
      keeps sessions around until we have a valid windowSequenceNumber.
      
      Swapping both conditions fixes this case without breaking any of the
      other known transition scenarios.
      
      Issue: androidx/media#180
      PiperOrigin-RevId: 480866465
      (cherry picked from commit 6070d911)
      tonihei committed
    • Migrate media constants from androidx.media.util.MediaConstants · 1bea5067
      Adds root extras and metadata extras to MockMediaLibraryService and MockMediaBrowserCompatService and completed test cases for asserting
      interoperability with a media1 or Media3 browser.
      
      PiperOrigin-RevId: 480854842
      (cherry picked from commit f95406e7)
      bachinger committed
    • Fix blank toast in Transformer Demo · a8921b74
      PiperOrigin-RevId: 480847967
      (cherry picked from commit 446c9943)
      Googler committed
    • Remove supportsSampleMimeType from Muxer.Factory · 267725c5
      - This method is redundant with getSupportedSampleMimeTypes().
      - This is to prepare the Muxer class to become public.
      
      PiperOrigin-RevId: 480840902
      (cherry picked from commit 8962f5a3)
      kimvde committed
  12. 12 Oct, 2022 3 commits
    • Add Cea608DecoderTest · 3aca9bc0
      When debugging and fixing Issue: google/ExoPlayer#10666 I wanted to write a regression
      test, but needed to add a test first... This is just a small bit of
      coverage to start with. It checks the field/channel filtering works
      correctly, but doesn't check any styling info. It also doesn't test
      'pop on' subtitles (i.e. when the subtitle isn't shown until a 'end of
      subtitle' signal is received).
      
      PiperOrigin-RevId: 480644568
      (cherry picked from commit 6052212c)
      ibaker committed
    • Demo: Shorten trim range from 60 seconds to 10 seconds. · 4198ddeb
      Most demo videos aren't very long, and the default demo video is only 10 seconds.
      
      Shorten the maximum trim duration to 10 seconds, to demonstrate transformer functionality more easily, and allow this to be used more easily when trimming short sections of a longer video (ex. to make test clips)
      
      PiperOrigin-RevId: 480602037
      (cherry picked from commit 3142a212)
      huangdarwin committed
    • Demo: Hide player controls by default. · 22445491
      Player controls are somewhat distracting when showing the difference between the
      input and output video, as they obscure and darken the video players.
      
      PiperOrigin-RevId: 480597804
      (cherry picked from commit 91a61cec)
      huangdarwin committed
  13. 11 Oct, 2022 2 commits
  14. 10 Oct, 2022 2 commits
    • Treat NO_VALUE as zero when adding up total required bitrate · dc805232
      We currently use the literal -1 (=NO_VALUE) when adding up the
      total. Tracks without known bitrate can be ignored in the
      calculation, but we should use an explicit value of 0.
      
      #minor-release
      
      Issue: google/ExoPlayer#10664
      PiperOrigin-RevId: 480048126
      (cherry picked from commit af19e0ea)
      tonihei committed
    • Adjust track selection with Dolby Vision if display does not support · e8a5ac91
      If the sample type is Dolby Vision and the display does not support Dolby Vision, then the capabilities DecoderSupport flag is set to DECODER_SUPPORT_FALLBACK_MIMETYPE. This denotes that the renderer will use a decoder for a fallback mimetype if possible. This alters track selection as tracks with DecoderSupport DECODER_SUPPORT_PRIMARY are preferred.
      
      UnitTests included
      -DefaultTrackSelector test that checks track selection reordering with DECODER_SUPPORT_FALLBACK_MIMETYPE
      -MediaCodecVideoRenderer test that checks setting of DecoderSupport flag based on Display's Dolby Vision support
      
      Issue: google/ExoPlayer#8944
      PiperOrigin-RevId: 480040876
      (cherry picked from commit a366590a)
      michaelkatz committed
  15. 07 Oct, 2022 2 commits