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-11617] newValue and oldValue always nil when observing AVPlayerItem.duration #3382

Closed
swift-ci opened this issue Oct 15, 2019 · 4 comments

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-11617
Radar None
Original Reporter RomanPodymov (JIRA User)
Type Bug
Status Closed
Resolution Done
Environment

Xcode 11.1, Swift 5.1.

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

md5: bff58b6358ced328fb5f646f3def2d43

cloned to:

  • SR-14210 oldValue always nil when observing AVQueuePlayer.currentItem

relates to:

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

Issue Description:

Similar to https://bugs.swift.org/browse/SR-5872, change.newValue and change.oldValue are always nil when observing AVPlayerItem.duration. Prior to Xcode 11 it was not reproducing.

@belkadan
Copy link

I'm not sure why this ever would have been different from SR-5872. @Catfish-Man?

@swift-ci
Copy link
Contributor Author

Comment by Roman Podymov (JIRA)

Hello @belkadan

AVPlayerItem.duration is CMTime, it is not RawRepresentable, that's why I created a new issue.

@belkadan
Copy link

Fair enough.

@swift-ci
Copy link
Contributor Author

Comment by Roman Podymov (JIRA)

The issue is not reproducing in Xcode 11.2.1.

@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
This issue was closed.
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

2 participants