Александр Баташев <alexbatashev <at> gmail.com> writes:
> > > I'm trying to encode recorded with camera video with H264 codec. But when I add MediaCodec surface to a Camera Capture Surface everything freezes and I can see in logcat "RequestThread-0: Timed out while waiting for request to complete" > Here is my sample code: https://github.com/alexbat98/Sample-Camera > > Any ideas why it doesen't work? > > > > MediaCodec must dequeue. Use MediaCodec.dequeueOutputBuffer and MediaCodec.releaseOutputBuffer -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/loom.20160519T090151-86%40post.gmane.org. For more options, visit https://groups.google.com/d/optout.

