Closed
Bug 1168309
Opened 9 years ago
Closed 9 years ago
[FFOS] Gonk's PDM cannot enter dormant state.
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: bwu, Assigned: bwu)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
1.11 KB,
patch
|
bwu
:
review+
|
Details | Diff | Splinter Review |
When playing some videos from browser and pushing the home key, PDM doesn't enter dormant and codec is not released.
Assignee | ||
Comment 1•9 years ago
|
||
User experience impacted: If user watch video from browsers and then push the home key to play a video file in video app, video app will show "Another app is currently using the video player".
Keywords: regression
Assignee | ||
Comment 2•9 years ago
|
||
This should be caused by the Bug 1163458. The root cause is MOZ_GONK_MEDIACODEC is not defined dom/media, so READER_DORMANT_HEURISTIC will not be defined in [1] and subsequently MediaFormatReader's IsDormantNeeded()[2] returns false. [1]https://dxr.mozilla.org/mozilla-central/source/dom/media/MediaFormatReader.h#20 [2]https://dxr.mozilla.org/mozilla-central/source/dom/media/MediaFormatReader.cpp#1288
Assignee | ||
Comment 3•9 years ago
|
||
Root cause: Per comment 2. Solution: Add the define, MOZ_GONK_MEDIACODEC, to dom/media.
Attachment #8610472 -
Flags: review?(cpearce)
Updated•9 years ago
|
Attachment #8610472 -
Flags: review?(cpearce) → review+
Assignee | ||
Comment 4•9 years ago
|
||
Thanks for cpearce's review! Carry r+ from cpearce.
Attachment #8610472 -
Attachment is obsolete: true
Attachment #8610985 -
Flags: review+
Assignee | ||
Comment 5•9 years ago
|
||
Try server: https://treeherder.mozilla.org/#/jobs?repo=try&revision=44583ec38e13
https://hg.mozilla.org/mozilla-central/rev/a3a3e00caaff
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•