Closed Bug 866593 Opened 11 years ago Closed 6 years ago

B2G Emulator: Camera Recording with emulator is broken

Categories

(Firefox OS Graveyard :: Emulator, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: onecyrenus, Assigned: mikeh)

References

Details

Opening the camera app on the emulator, I am able to see the preview screen, but when I click on the Camera Recording button, the preview stops, and I see this error in the console. 

Looks like an invalid argument. The repro is just building / running the emulator, and the camera app within it.  
Revision: gaia:v1-train, gecko:gecko-18

V/EmulatedCamera_Preview(   38): setPreviewWindow: current: 0x0 -> new: 0x141c0
V/EmulatedCamera_Camera(   38): doStartPreview
V/EmulatedCamera_Preview(   38): startPreview
D/EmulatedCamera_Camera(   38): Starting camera: 352x288 -> NV21(yuv420sp)
V/EmulatedCamera_FakeDevice(   38): startDevice
V/EmulatedCamera_Device(   38): commonStartDevice: Allocated 0x41263008 152064 bytes for 101376 pixels in NV21[352x288] frame
V/EmulatedCamera_Device(   38): startDeliveringFrames
V/EmulatedCamera_Device(   38): startWorkerThread
V/EmulatedCamera_Device(   38): Starting emulated camera device worker thread...
V/EmulatedCamera_Device(   38): Emulated device's worker thread has been started.
V/EmulatedCamera_Preview(   38): onNextFrameAvailable: Adjusting preview windows 0x141c0 geometry to 352x288
D/        (  235): HostConnection::get() New Host Connection established 0x4414f890, tid 247
D/        (   38): HostConnection::get() New Host Connection established 0x13c38, tid 262
E/gralloc_goldfish(  235): gralloc_lock usage mismatch usage=0x3 cb->usage=0x130
W/GraphicBufferMapper(  235): lock(...) failed -22 (Invalid argument)
I/IdleService(   43): next timeout 300000 msec from now
I/IdleService(   43): SetTimerExpiryIfBefore: next timeout 300000 msec from now
Summary: Camera Recording with emulator is broken → B2G Emulator: Camera Recording with emulator is broken
Hi Mike,
Is there any progess on this issue?
Flags: needinfo?(mhabicher)
But camera recording button works for me, although I always get still image and the sound quality is terrible.
(In reply to C.J. Ku[:CJKu] from comment #1)
>
> Hi Mike,
> Is there any progess on this issue?

Hi CJKu, AFAIK, no one is looking into this issue.
Flags: needinfo?(mhabicher)
Component: General → Emulator
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.