<div dir="ltr">Hi,<br><br>With VLCKit 4.0.0a24 on iPadOS 27 (iPad Pro M5, also happens in the simulator), I get a single fully black frame every time Picture-in-Picture stops and the video goes back to the inline view.<br><br>To reproduce: play anything with the default output and PiP enabled through VLCPictureInPictureDrawable, background the app so PiP starts, then come back to the app (stopPictureInPicture or the system restore button, same result).<br><br>I screen-recorded it and went through the frames: the PiP window is still there on one frame, the next frame is completely black over the whole video area, then the picture comes back. In the simulator it showed up in every run I did. Playing or paused makes no difference.<br><br>A few things I checked:<br>- my app doesn't flush the display layer, touch the drawable or resize anything at that point (I removed all of that to be sure)<br>- a view placed below the display view doesn't show through during that frame, so the AVSampleBufferDisplayLayer seems to draw black rather than being empty/transparent<br>- it lands roughly 50-100 ms after pictureInPictureControllerDidStopPictureInPicture<br><br>I noticed VLCPictureInPictureController doesn't implement restoreUserInterfaceForPictureInPictureStopWithCompletionHandler, not sure if that's related.<br><br>I can test a patch or send the recordings if useful.</div>