Loading services/camera/libcameraservice/device3/Camera3Stream.cpp +1 −5 Original line number Original line Diff line number Diff line Loading @@ -109,11 +109,7 @@ camera3_stream* Camera3Stream::startConfiguration() { // oldUsage/oldMaxBuffers // oldUsage/oldMaxBuffers return this; return this; case STATE_CONFIGURED: case STATE_CONFIGURED: if (stream_type == CAMERA3_STREAM_INPUT) { if (hasOutstandingBuffersLocked()) { ALOGE("%s: Cannot configure an input stream twice", __FUNCTION__); return NULL; } else if (hasOutstandingBuffersLocked()) { ALOGE("%s: Cannot configure stream; has outstanding buffers", ALOGE("%s: Cannot configure stream; has outstanding buffers", __FUNCTION__); __FUNCTION__); return NULL; return NULL; Loading Loading
services/camera/libcameraservice/device3/Camera3Stream.cpp +1 −5 Original line number Original line Diff line number Diff line Loading @@ -109,11 +109,7 @@ camera3_stream* Camera3Stream::startConfiguration() { // oldUsage/oldMaxBuffers // oldUsage/oldMaxBuffers return this; return this; case STATE_CONFIGURED: case STATE_CONFIGURED: if (stream_type == CAMERA3_STREAM_INPUT) { if (hasOutstandingBuffersLocked()) { ALOGE("%s: Cannot configure an input stream twice", __FUNCTION__); return NULL; } else if (hasOutstandingBuffersLocked()) { ALOGE("%s: Cannot configure stream; has outstanding buffers", ALOGE("%s: Cannot configure stream; has outstanding buffers", __FUNCTION__); __FUNCTION__); return NULL; return NULL; Loading