Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK crashes at AVAssetWriterInputPixelBufferAdaptor appendPixelBuffer:withPresentationTime #5

Open
ravindrapai opened this issue Nov 20, 2014 · 0 comments

Comments

@ravindrapai
Copy link

2014-11-20 18:22:14.574 MyApp [1589:437883] Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
2014-11-20 18:27:03.973 MyApp [1589:439531] CRASH: *** -[AVAssetWriterInputPixelBufferAdaptor appendPixelBuffer:withPresentationTime:] Cannot call method when status is 0
2014-11-20 18:27:04.013 MyApp [1589:439531] Stack Trace: (
0 CoreFoundation 0x28780d7f + 150
1 libobjc.A.dylib 0x362f7c77 objc_exception_throw + 38
2 AVFoundation 0x27287b33 + 138
3 AVFoundation 0x272836cf + 82
4 AVFoundation 0x272882ff + 90
5 MyApp 0x000c62b9 __33-[SRScreenRecorder captureFrame:]_block_invoke + 848
6 libdispatch.dylib 0x007059cb _dispatch_call_block_and_release + 10
7 libdispatch.dylib 0x0070de1d _dispatch_queue_drain + 1088
8 libdispatch.dylib 0x007082f5 _dispatch_queue_invoke + 88
9 libdispatch.dylib 0x0070f559 _dispatch_root_queue_drain + 364
10 libdispatch.dylib 0x00710881 _dispatch_worker_thread3 + 108
11 libsystem_pthread.dylib 0x369d5e25 _pthread_wqthread + 668
12 libsystem_pthread.dylib 0x369d5b78 start_wqthread + 8
)
2014-11-20 18:27:04.017 XXXX [1589:439531] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '* -[AVAssetWriterInputPixelBufferAdaptor appendPixelBuffer:withPresentationTime:] Cannot call method when status is 0'
*** First throw call stack:
(0x28780d67 0x362f7c77 0x27287b33 0x272836cf 0x272882ff 0xc62b9 0x7059cb 0x70de1d 0x7082f5 0x70f559 0x710881 0x369d5e25 0x369d5b78)
libc++abi.dylib: terminating with uncaught exception of type NSException

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant