RedApparat / Fotoapparat

Making Camera for Android more friendly. 📸
Apache License 2.0
3.82k stars 408 forks source link

When the activity closes,Will print a lot“BufferQueue has been abandoned”(hauwei Mate s 5.1.1) #130

Closed BusyFall closed 6 years ago

BusyFall commented 6 years ago

11-10 15:54:50.765 5886-5909/io.fotoapparat.sample E/BufferQueueProducer: [unnamed-5886-0] dequeueBuffer: BufferQueue has been abandoned 11-10 15:54:50.765 5886-5886/io.fotoapparat.sample E/Camera: Error 3 11-10 15:54:50.765 5886-5886/io.fotoapparat.sample W/System.err: java.lang.Exception 11-10 15:54:50.765 5886-5886/io.fotoapparat.sample W/System.err: at io.fotoapparat.hardware.v1.Camera1.recordMethod(Camera1.java:420) 11-10 15:54:50.765 5886-5886/io.fotoapparat.sample W/System.err: at io.fotoapparat.hardware.v1.Camera1.getPreviewStream(Camera1.java:303) 11-10 15:54:50.765 5886-5886/io.fotoapparat.sample W/System.err: at io.fotoapparat.routine.ConfigurePreviewStreamRoutine.run(ConfigurePreviewStreamRoutine.java:27) 11-10 15:54:50.765 5886-5886/io.fotoapparat.sample W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 11-10 15:54:50.765 5886-5886/io.fotoapparat.sample W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)

dmitry-zaitsev commented 6 years ago

This is a normal behavior. But anyway thanks for reporting!