Skip to content

Commit

Permalink
Merge pull request #949 from ne0rrmatrix/FixIPLayerListener
Browse files Browse the repository at this point in the history
Refactor Player.Listener and update metadata
  • Loading branch information
moljac committed Sep 4, 2024
2 parents e12f2f0 + 454c543 commit 5b769b2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions source/androidx.media3/media3-common/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<metadata>
<metadata>
<attr
path="/api/package[@name='androidx.media3.common']/class[@name='StreamKey']/method[@name='compareTo' and count(parameter)=1 and parameter[1][@type='androidx.media3.common.StreamKey']]/parameter[1]"
name="managedType"
Expand Down Expand Up @@ -79,7 +79,10 @@
>
VideoGraphListenerOutputSizeChangedEventArgs
</attr>

<!-- Remove these as they cause issues with Media3.ExoPlayer-->
<remove-node
path="/api/package[@name='androidx.media3.common']/interface[@name='Player.Listener']/method[@name='onPositionDiscontinuity' and count(parameter)=1 and parameter[1][@type='int']]"
/>
<!--
Trying to fix IExoPlayer issue, but adding this metadata causes the following error:
Expand Down

0 comments on commit 5b769b2

Please sign in to comment.