-
-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Hey there,
I've been playing with the demo projects provided, but I don't seem to be able to get MPV to detect the metal layer resizing...
I've added the following to MPVMetalViewController
override func viewDidLayoutSubviews() {
let size = view.frame.size
let scale = UIScreen.main.nativeScale
metalLayer.frame = view.frame
metalLayer.drawableSize = CGSize(width: size.width * scale, height: size.height * scale)
}
I can see with the performance overlay that the metal layer has resized, however, the video content isn't modified.
Is there any way to get resizing to work with libmpv on iOS?
Metadata
Metadata
Assignees
Labels
No labels