|
@@ -523,7 +523,7 @@ class BFRecordScreenCameraManager: BFRecordScreenBaseManager {
|
|
|
CMTimeCompare(mode.timelineCMIn, currentAssetProgress) <= 0 && CMTimeCompare(currentAssetProgress, mode.timelineCMOut) < 0
|
|
|
}) {
|
|
|
// true 代表需要换源
|
|
|
- let su = (assetPlayer?.currentItem?.asset as? AVURLAsset)?.url.lastPathComponent != (mod.locationPath as NSString?)?.lastPathComponent
|
|
|
+ let su = (avplayer.currentItem?.asset as? AVURLAsset)?.url.lastPathComponent != (mod.locationPath as NSString?)?.lastPathComponent
|
|
|
|
|
|
if !su {
|
|
|
if avplayer.timeControlStatus == .paused {
|