Error when feeding AVSampleBufferDisplayLayer to AVPictureInPictureController

I have an AVSampleBufferDisplayLayer playing a local video. When adding the AvSampleBufferDisplayLayer as a contentSource to AVPictureInPictureController, it fails with

The operation couldn’t be completed. (PGPegasusErrorDomain error -1003.)

I can't find any documented error with that domain an error code.

Help?

Replies

Please file a bug report about this using the Feedback Assistant. Include a small focused sample project that demonstrates the problem as well. Thanks!

  • Just filed a bug report (FB9151019) with this issue, including sample project.

    Thank you!

Add a Comment

any update on this? It works the first time for me, the second time I enter PiP with an AVSampleBufferDisplayLayer, it fails. (iOS 15, b8)