Skip to content

avsamplevideosink: fix silent failure when enqueueing sample buffers on iOS devices

Rich Insley requested to merge richinsley/gstreamer:fix-ios-iosurface into main

AVSampleBufferDisplayLayer silently fails on iOS devices when enqueueing samples that are not backed with an IOSurface. This does not affect macOS systems or iOS simulators. IOSurface backed samples can only be created with CVPixelBufferCreate. CVPixelBufferCreateWithPlanarBytes and CVPixelBufferCreateWithBytes ignore kCVPixelBufferIOSurfacePropertiesKey.

Merge request reports