Post not yet marked as solved
I use both CAEAGLLayer and AVSampleBufferDisplayLayer to render CVPixelBuffer.AVSampleBufferDisplayLayer shows no animation effect when changing its frame, while CAEAGLLayer could show animation effect.Apart from using less memory compared with VTB when decoding, AVSampleBufferDisplayLayer is full of defects!!!!
* thread #258, queue = 'com.apple.coremedia.vqr.timebasesync', stop reason = EXC_BREAKPOINT (code=1, subcode=0x114d55c50)
* frame #0: 0x0000000114d55c50 libdispatch.dylib`__DISPATCH_WAIT_FOR_QUEUE__ + 456
frame #1: 0x0000000114d55610 libdispatch.dylib`_dispatch_sync_f_slow + 176
frame #2: 0x00000001aaa1b820 MediaToolbox`videoQueueRemote_Invalidate + 320
frame #3: 0x00000001aaa1b8e8 MediaToolbox`videoQueueRemote_Finalize + 32
frame #4: 0x00000001a75f1b80 CoreMedia`FigBaseObjectFinalize + 92
frame #5: 0x00000001a0eaf000 CoreFoundation`_CFRelease + 208
frame #6: 0x00000001aaa1c4cc MediaToolbox`videoQueueRemote_syncServerTimebaseToMoment + 396
frame #7: 0x00000001aa683e74 MediaToolbox`figSyncMomentSource_sendMomentInternal + 68
frame #8: 0x0000000114d46c04 libdispatch.dylib`_dispatch_client_callout + 16
frame #9: 0x0000000114d4db74 libdispatch.dylib`_dispatch_lane_serial_drain + 744
frame #10: 0x0000000114d4e710 libdispatch.dylib`_dispatch_lane_invoke + 448
frame #11: 0x0000000114d59ae4 libdispatch.dylib`_dispatch_workloop_worker_thread + 1324
frame #12: 0x00000001a0c4cfa4 libsystem_pthread.dylib`_pthread_wqthread + 276this happened after [AVSampleBufferDisplayLayer dealloc]. Did anyone ever suffer from this?