Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-14210] oldValue always nil when observing AVQueuePlayer.currentItem #4224

Open
swift-ci opened this issue Feb 14, 2021 · 0 comments
Open

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-14210
Radar None
Original Reporter casperson (JIRA User)
Type Bug
Environment

Xcode 12.4, Swift 5.3

Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug, BUG
Assignee None
Priority Medium

md5: 0b360c1b3507d2926fee9a3040e2aadf

cloned from:

  • SR-11617 newValue and oldValue always nil when observing AVPlayerItem.duration

relates to:

  • SR-5872 newValue and oldValue always nil when observing AVPlayerItem.status

Issue Description:

Similar to https://bugs.swift.org/browse/SR-5872 and https://bugs.swift.org/browse/SR-11617, change.oldValue is always nil when observing AVQueuePlayer.currentItem.

player.observe(.currentItem, options: [.new, .old]) will return a value for newValue always, but never returns a value for oldValue, even when passing in the correct option.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant