Skip to content

Commit

Permalink
fix(android): source metadata compare function (#3775)
Browse files Browse the repository at this point in the history
  • Loading branch information
YangJonghun authored May 17, 2024
1 parent 66e0ba5 commit 6455380
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1648,7 +1648,7 @@ public void onCues(CueGroup cueGroup) {

public void setSrc(final Uri uri, final long startPositionMs, final long cropStartMs, final long cropEndMs, final String extension, Map<String, String> headers, MediaMetadata customMetadata) {

if (this.customMetadata != customMetadata && player != null) {
if (!Util.areEqual(this.customMetadata, customMetadata) && player != null) {
MediaItem currentMediaItem = player.getCurrentMediaItem();

if (currentMediaItem != null) {
Expand Down

0 comments on commit 6455380

Please sign in to comment.