After taking a picture this is spammed in my logs continuesly:
BufferQueueProducer(17233): [SurfaceTexture-0-17233-2](this:0x7c579000,id:4,api:1,p:17233,c:17233) queueBuffer: slot 1 is dropped, handle=0x802a4640
it won't stop to spam this. And I can't open CameraSnapScreen again. If I do it won't find the camera. So for me it seems like the camera is not closed properly?
my code:
Navigator.of(navContext)
.push(
MaterialPageRoute(
builder: (context) => CameraSnapScreen(
cameraType: CameraType.back, appBar: AppBar(title: Text("Take Picture"))),
),
)