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
overridefunc viewDidLayoutSubviews(){letsize= view.frame.size
letscale=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?
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
MPVMetalViewControllerI 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?