Closed Bug 1157612 Opened 9 years ago Closed 9 years ago

[Camera]It will create a "*.3gp" file while it failed to record the video.

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 affected, b2g-master affected)

RESOLVED DUPLICATE of bug 1152500
Tracking Status
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: yue.zhou, Unassigned)

Details

(Whiteboard: [2.2-nexus-5-l])

Attachments

(2 files)

[1.Description]:
[Nexus 5 v2.2&v3.0][Camera]It will create a "*.3gp" file while it failed to record the video.
Attachments: logcat_505.txt and 505.MP4
Happen time: 5:05 AM

[2.Testing Steps]: 
1. Launch Camera and switch to Camcorder mode
2. Press Record button
3. Press Stop button immediately while it records 00:01
4. Repeat step 2&3 till the error appears(Video not recorded. An error prevented Camera from recording the video)
5. Launch Music app, switch to Songs tab

[3.Expected Result]: 
5. It should not create a "*.3gp" file while it failed to record the video.

[4.Actual Result]: 
5. There is a video file listed in Music.

[5.Reproduction build]: 
Flame 2.2(Unaffected):
Build ID               20150422002505
Gaia Revision          41a85c5f9db291d4f7c0e94c8416b5115b4ee407
Gaia Date              2015-04-21 17:23:41
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/a87a05e7d0ef
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150422.040348
Firmware Date          Wed Apr 22 04:03:59 EDT 2015
Bootloader             L1TC000118D0

Flame 3.0(Unaffected):
Build ID               20150422160203
Gaia Revision          9d4f756aa35cb7f030a92f3c1f65fb55254ddd1d
Gaia Date              2015-04-22 17:32:36
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/a9311ec2dd39
Gecko Version          40.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150422.193515
Firmware Date          Wed Apr 22 19:35:27 EDT 2015
Bootloader             L1TC000118D0

Nexus5 2.2(affected):
Build ID               20150422162503
Gaia Revision          41a85c5f9db291d4f7c0e94c8416b5115b4ee407
Gaia Date              2015-04-21 17:23:41
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/367b3e608cd8
Gecko Version          37.0
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150422.195718
Firmware Date          Wed Apr 22 19:57:35 EDT 2015
Bootloader             HHZ12f

Nexus5 3.0(affected):
Build ID               20150422010202
Gaia Revision          15134b080b5f406e5aa36f5136c17dafb4e31f64
Gaia Date              2015-04-21 19:52:45
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/946ac85af8f4
Gecko Version          40.0a1
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150422.044004
Firmware Date          Wed Apr 22 04:40:22 EDT 2015
Bootloader             HHZ12f

[6.Reproduction Frequency]: 
Always Recurrence,5/5

[7.TCID]: 
Free Test
Attached video Bug video: 505.mp4
I was able to reproduce this on my nexus 5. I tweaked the patch in bug 1152500 to fix this case as well (in addition to issues with the record button mashing, in turns out 1000ms is too short to assume a file is corrupt; better to always check the file and drop those whose metadata doesn't check out).
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: