Closed
Bug 1364341
Opened 8 years ago
Closed 8 years ago
Fallback to software codec if the hardware codec configures fail
Categories
(Firefox for Android Graveyard :: Audio/Video, defect)
Firefox for Android Graveyard
Audio/Video
Tracking
(firefox54 fixed, firefox55 fixed)
RESOLVED
FIXED
Firefox 55
People
(Reporter: alwu, Assigned: jhlin)
References
Details
Attachments
(4 files, 2 obsolete files)
59 bytes,
text/x-review-board-request
|
jya
:
review+
gchang
:
approval-mozilla-beta+
|
Details |
59 bytes,
text/x-review-board-request
|
jya
:
review+
|
Details |
2.97 KB,
patch
|
Details | Diff | Splinter Review | |
8.95 KB,
patch
|
Details | Diff | Splinter Review |
If the video resolution isn't supported by hardware codec, we should fallback to software codec.
STR.
1. Run dom/media/test/test_resolution_change.html on Android
Expect.
2. The video can be playback
Actual.
2. The video can't be playback
Reporter | ||
Comment 1•8 years ago
|
||
Hi, John,
Could you help me to check this bug?
Thanks!
Blocks: 1364340
Flags: needinfo?(jolin)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Reporter | ||
Updated•8 years ago
|
Assignee: nobody → jolin
Flags: needinfo?(jolin)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8868011 [details]
bug 1364341 - part 1: release all resources used by existing codec when re-configure.
https://reviewboard.mozilla.org/r/139574/#review145020
::: commit-message-35a46:1
(Diff revision 2)
> +bug 1364341 - part 1: release all resources used by existing codec when re-configure. r?jya
what is re-configure here ?
if it's just a change of resolution. Shouldn't we wait for all the previous frames to have been returned and displayed first?
Following bug 1299105, there's no longer any wait when the resolution change.
Dropping all frames because a new resolution is seen will lead to be transitions.
Assignee | ||
Comment 7•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8868011 [details]
bug 1364341 - part 1: release all resources used by existing codec when re-configure.
https://reviewboard.mozilla.org/r/139574/#review145020
> what is re-configure here ?
>
> if it's just a change of resolution. Shouldn't we wait for all the previous frames to have been returned and displayed first?
>
> Following bug 1299105, there's no longer any wait when the resolution change.
>
> Dropping all frames because a new resolution is seen will lead to be transitions.
Re-configure here is lightweight remote codec recreation. With this a proxy can be reused for different decoding/encoding sessions.
Not currently in used, though.
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8868011 [details]
bug 1364341 - part 1: release all resources used by existing codec when re-configure.
https://reviewboard.mozilla.org/r/139574/#review145084
Attachment #8868011 -
Flags: review?(jyavenard) → review+
Comment 9•8 years ago
|
||
mozreview-review |
Comment on attachment 8868012 [details]
bug 1364341 - part 2: try next codec when configuration fails.
https://reviewboard.mozilla.org/r/139576/#review145086
LGTM, thought I'm no expert in Java and MediaCodec
Attachment #8868012 -
Flags: review?(jyavenard) → review+
Comment 10•8 years ago
|
||
Pushed by jolin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1ffcbd8d55f6
part 1: release all resources used by existing codec when re-configure. r=jya
https://hg.mozilla.org/integration/autoland/rev/bc722bc488b5
part 2: try next codec when configuration fails. r=jya
Assignee | ||
Comment 11•8 years ago
|
||
Comment on attachment 8868011 [details]
bug 1364341 - part 1: release all resources used by existing codec when re-configure.
Approval Request Comment
[Feature/Bug causing the regression]: bug 1350279
[User impact if declined]: some video (e.q. VP8 with resolution < 64x64) won't play
[Is this code covered by automated tests?]: yes (dom/media/test/test_resolution_change.html)
[Has the fix been verified in Nightly?]: yes
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]: bug 1350279
[Is the change risky?]: low risk
[Why is the change risky/not risky?]: it falls back to SW decoder
[String changes made/needed]: none
Please uplift both patches.
Attachment #8868011 -
Flags: approval-mozilla-beta?
Comment 12•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1ffcbd8d55f6
https://hg.mozilla.org/mozilla-central/rev/bc722bc488b5
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•8 years ago
|
status-firefox54:
--- → affected
Comment 13•8 years ago
|
||
Comment on attachment 8868011 [details]
bug 1364341 - part 1: release all resources used by existing codec when re-configure.
OOP is enabled in 54 and fallback to software codec is important once the hardware resource is not enough. We need this in 54. Beta54+. Should be in 54 beta 12 for mobile.
Attachment #8868011 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Assignee | ||
Comment 14•8 years ago
|
||
Assignee | ||
Comment 15•8 years ago
|
||
Assignee | ||
Comment 16•8 years ago
|
||
Please use attachment 8871592 [details] [diff] [review] and attachment 8871593 [details] [diff] [review] for uplifting. Thanks a lot.
Assignee | ||
Comment 17•8 years ago
|
||
Attachment #8871592 -
Attachment is obsolete: true
Assignee | ||
Comment 18•8 years ago
|
||
Attachment #8871593 -
Attachment is obsolete: true
Comment 19•8 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•