Closed Bug 794055 Opened 12 years ago Closed 12 years ago

Video app fails to start if thumbnail fails to generate

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cajbir, Unassigned)

References

Details

Bug 759506 enables use of zero copy video decoding using the hardware decoder for videos. With the patches from that bug applied the video app no longer starts with the latest Gaia code due to an uncaught error when generating thumbnails for mp4 files.

STR:

1) Ensure an .mp4 is in /sdcard/Movies
2) Ensure bug 759506 and dependancies are applied
3) Start video app

Expected result:

4) sdcard is scanned and video list appears

Actual result:

4) Black screen

This is a regression from about a week ago. There used to be a try/catch around:

metadata.poster = captureFrame(previewPlayer);

in video.js. If the captureFrame failed then it would continue with no thumbnail for that video. Now if it fails and the video app no longer works.
blocking-basecamp: --- → ?
Blocks: 759506
Raised Gaia issue https://github.com/mozilla-b2g/gaia/issues/5142 about this.
This bug should be closed as its a gaia bug

The failure to generate the thumbnail is likely however a platform bug
Fixed by gaia change.  We need to fix thumbnail generation separately.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
blocking-basecamp: ? → ---
(In reply to Chris Jones [:cjones] [:warhammer] from comment #3)
> Fixed by gaia change.  We need to fix thumbnail generation separately.

Is there a bug for this?
You need to log in before you can comment on or make changes to this bug.