touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #12585
[Bug 1362792] Re: Front camera turns black when video recording mode is activated
@kaleo
There are really two bugs here:
1) the screen goes black
2) you should not be able to switch cameras while recording in progress
Comments from a previous private bug suggest we are using the API incorrectly:
nexus 4 have the same error message while in front camera and doing video/photo mode switching.
E/CameraClient( 1129): native_window_api_connect failed: No such device
(-19)
Previous issue that could be related:
https://bugs.launchpad.net/camera-app/+bug/1191946
https://bugs.launchpad.net/camera-app/+bug/1200390
If you enable log around native_window_api_connect and
native_window_api_disconnect in
frameworks/av/services/camera/libcameraservice/api1/CameraClient.cpp,
you will see it's connect more than twice before disconnect is called.
And on the document, it's said that you need to disconnect before re-
connect.
quote from system/core/include/system/window.h:
/*
* native_window_api_connect(..., int api)
* connects an API to this window. only one API can be connected at a time.
* Returns -EINVAL if for some reason the window cannot be connected, which
* can happen if it's connected to some other API.
*/
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to camera-app in Ubuntu.
https://bugs.launchpad.net/bugs/1362792
Title:
Front camera turns black when video recording mode is activated
Status in Camera App:
New
Status in “camera-app” package in Ubuntu:
New
Bug description:
STEPS TO REPRODUCE :
-Open camera app
-Activate front camera
-Select video recording mode
ACTUAL RESULT :
The screen turns black when follows the previous steps. If you start
to record in rear camera and select the front camera (while the phone
is recording), the device becomes completly unstable
EXPECTED RESULT:
The front camera should work correctly when the video record mode is
activated
To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1362792/+subscriptions
References