1. 26 Apr, 2021 4 commits
    • Merge pull request #8852 from abeljim:dev-v2 · 2a0b45ac
      PiperOrigin-RevId: 370407108
      Andrew Lewis committed
    • Fix 1 ErrorProneStyle finding: · 0db4f134
      * @Nullable is not a TYPE_USE annotation, so should appear before any modifiers and after Javadocs.
        (see go/java-style#s4.8.5-annotations)
      
      This CL looks good? Just LGTM and Approve it!
      This CL doesn’t look good? This is what you can do:
      * Suggest a fix on the CL (go/how-to-suggest-fix).
      * Revert this CL, by replying "REVERT: <provide reason>"
      * File a bug under go/error-prone-bug for category ErrorProneStyle if the change looks generally problematic.
      * Revert this CL and not get a CL that cleans up these paths in the future by
      replying "BLOCKLIST: <provide reason>". This is not reversible! We recommend to
      opt out the respective paths in your CL Robot configuration instead:
      go/clrobot-opt-out.
      
      This CL was generated by CL Robot - a tool that cleans up code findings
      (go/clrobot). The affected code paths have been enabled for CL Robot in //depot/google3/java/com/google/android/libraries/exoplayer/METADATA which is reachable following include_presubmits from //depot/google3/third_party/java_src/android_libs/media/METADATA.
      Anything wrong with the signup? File a bug at go/clrobot-bug.
      
      #codehealth
      
      PiperOrigin-RevId: 370377751
      olly committed
    • Add Player.getAvailableCommands() · 0616c0d1
      Add method getAvailableCommands() in Player interface to return
      the available commands. Method isCommandAvailable() moved to
      BasePlayer since it can be implelented by calling
      getAvailableCommands().
      
      PiperOrigin-RevId: 370059328
      christosts committed
    • Fix 4 ErrorProneStyle findings: · 87d8907b
      * @Encoding is not a TYPE_USE annotation, so should appear before any modifiers and after Javadocs.
        (see go/java-style#s4.8.5-annotations) (2 times)
      * @Nullable is not a TYPE_USE annotation, so should appear before any modifiers and after Javadocs.
        (see go/java-style#s4.8.5-annotations) (2 times)
      
      This CL looks good? Just LGTM and Approve it!
      This CL doesn’t look good? This is what you can do:
      * Suggest a fix on the CL (go/how-to-suggest-fix).
      * Revert this CL, by replying "REVERT: <provide reason>"
      * File a bug under go/error-prone-bug for category ErrorProneStyle if the change looks generally problematic.
      * Revert this CL and not get a CL that cleans up these paths in the future by
      replying "BLOCKLIST: <provide reason>". This is not reversible! We recommend to
      opt out the respective paths in your CL Robot configuration instead:
      go/clrobot-opt-out.
      
      This CL was generated by CL Robot - a tool that cleans up code findings
      (go/clrobot). The affected code paths have been enabled for CL Robot in //depot/google3/java/com/google/android/libraries/exoplayer/METADATA which is reachable following include_presubmits from //depot/google3/third_party/java_src/android_libs/media/METADATA.
      Anything wrong with the signup? File a bug at go/clrobot-bug.
      
      #codehealth
      
      PiperOrigin-RevId: 370048160
      olly committed
  2. 23 Apr, 2021 1 commit
  3. 22 Apr, 2021 1 commit
  4. 21 Apr, 2021 20 commits
  5. 20 Apr, 2021 7 commits
  6. 19 Apr, 2021 7 commits
    • Misc cleanup / clarification for bandwidth improvements · f2c13d9f
      PiperOrigin-RevId: 369315524
      olly committed
    • MediaCodecAdapter.Factory creates a started Adapter. · 7a131636
      This change moves the responsibility of creating, configuring and starting the MediaCodec from the MediaCodecRender to the MediaCodecAdapter.Factory.
      
      This move allows ExoPlayer's client to decide how and when codecs are created and/or reused.
      
      To allow the move, this CL replaces MediaCodecRenderer.ConfigureCodec with MediaCodecRenderer.getCodecConfiguration
      
      PiperOrigin-RevId: 369273887
      olly committed
    • Merge pull request #8812 from TiVo:p-fix-iframe-only-implicit-init · 9fc3b483
      PiperOrigin-RevId: 369215083
      Oliver Woodman committed
    • Make ProgramInformation final. · 4f145a83
      This was likely an oversight when first importing #4930.
      
      PiperOrigin-RevId: 369199775
      tonihei committed
    • Rollback of https://github.com/google/ExoPlayer/commit/cdebf6c68b0f76360d78114dcb47c58e63b354a7 · 6550ea88
      *** Original commit ***
      
      Move VideoComponent in ExoPlayer
      
      VideoFrameMetadataListener and CameraMotionListener are still part
      of the Player interface as a good way to break the UI dependency
      on them has not yet been finalised.
      
      ***
      
      PiperOrigin-RevId: 369194309
      ibaker committed
    • Fix 1 ErrorProneFragileCode finding, REQUIRING THOROUGH REVIEW: · f4389552
      * Prefer instanceof to getClass when implementing Object#equals.
        (see http://go/bugpattern/EqualsGetClass)
      
      This CL looks good? Just LGTM and Approve it!
      This CL doesn’t look good? This is what you can do:
      * Suggest a fix on the CL (go/how-to-suggest-fix).
      * Revert this CL, by replying "REVERT: <provide reason>"
      * File a bug under go/error-prone-bug for category ErrorProneFragileCode if the change looks generally problematic.
      * Revert this CL and not get a CL that cleans up these paths in the future by
      replying "BLOCKLIST: <provide reason>". This is not reversible! We recommend to
      opt out the respective paths in your CL Robot configuration instead:
      go/clrobot-opt-out.
      
      This CL was generated by CL Robot - a tool that cleans up code findings
      (go/clrobot). The affected code paths have been enabled for CL Robot in //depot/google3/java/com/google/android/libraries/exoplayer/METADATA which is reachable following include_presubmits from //depot/google3/third_party/java_src/android_libs/exoplayer/METADATA.
      Anything wrong with the signup? File a bug at go/clrobot-bug.
      
      #codehealth
      
      PiperOrigin-RevId: 369180513
      olly committed
    • Move VideoComponent in ExoPlayer · cdebf6c6
      VideoFrameMetadataListener and CameraMotionListener are still part
      of the Player interface as a good way to break the UI dependency
      on them has not yet been finalised.
      
      PiperOrigin-RevId: 368863829
      krocard committed