Open Bug 1368902 Opened 9 years ago Updated 3 years ago

Enable reftest short.mp4.firstframe-ref.html on fennec.

Categories

(Core :: Audio/Video, enhancement, P5)

enhancement

Tracking

()

REOPENED

People

(Reporter: bechen, Unassigned)

References

Details

Attachments

(2 files, 3 obsolete files)

No description provided.
The testcase listen the "loadeddata" event, however on fennec the event won't be fired if we don't play the element. I change the testcase to listen "loadedmetadata", but the snapshot screen is pure white.
Attached file nexus6.log (obsolete) —
Attached file log_2 (obsolete) —
Attached file nodormantlog (obsolete) —
Depends on: 1370426
Priority: -- → P3
Now I can reproduce it on my nexus5, android 6.0.1, api-level 23. The first frame is whole black.
After we sent the first frame to compositor, the state change to DECODING then DORMANT. === LOG== 07-25 20:37:35.308 14478 14573 I gene test: Redraw ... 07-25 20:37:35.311 14478 14573 I gene test: change state to: DECODING 07-25 20:37:35.311 14478 14573 I gene test: Changed mNextFrameStatus to NEXT_FRAME_AVAILABLE ... 07-25 20:37:35.317 14478 14573 I gene test: CancelSuspendTimer: State: DECODING, Timer.IsScheduled: F 07-25 20:37:35.317 14478 14573 I gene test: change state to: DORMANT 07-25 20:37:35.317 14478 14573 I gene test: Exiting DECODING, decoded for 0.006s 07-25 20:37:35.318 14478 14573 I gene test: MaybeReleaseResources ReleaseResources() 07-25 20:37:35.318 14478 14573 I gene test: 07-25 20:37:35.318 14478 14573 I gene test: Audio 07-25 20:37:35.318 14478 14573 I gene test: SchedulingUpdate(Audio) 07-25 20:37:35.318 14478 14573 I gene test: Video 07-25 20:37:35.318 14478 14573 I gene test: SchedulingUpdate(Video) 07-25 20:37:35.318 14478 14573 I gene test: Processing update for Audio 07-25 20:37:35.318 14478 14573 I gene test: Update(Audio) ni=0 no=0 in:0 out:0 qs=0 decoding:0 flushing:0 desc:shutdown pending:0 waiting:0 eos:0 ds:0 sid:4294967295 07-25 20:37:35.318 14478 14573 I gene test: No need for additional input (pending:0) 07-25 20:37:35.318 14478 14573 I gene test: Processing update for Video 07-25 20:37:35.318 14478 14573 I gene test: Update(Video) ni=0 no=0 in:0 out:0 qs=0 decoding:0 flushing:0 desc:shutdown pending:0 waiting:0 eos:0 ds:0 sid:4294967295
So the root cause is that when we are going to DECODER_STATE_DORMANT, MDSM will release the resources. On android platform, once the decoder was released, the output buffer will be destroyed/released either.
Attachment #8873688 - Attachment is obsolete: true
Attachment #8873720 - Attachment is obsolete: true
Attachment #8873748 - Attachment is obsolete: true
Attached file log —
The log shows that we sent the first frame through imageBridge before the layer be attached !? == 8-01 21:43:32.910 1992 2099 I gene test: Redraw ... 08-01 21:43:32.935 1992 2074 I gene test: TOpAttachAsyncCompositable~~ 08-01 21:43:32.936 1992 2074 I gene test: ImageLayerComposite::RenderLayer RenderWithAllMasks
Flags: needinfo?(hshih)
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195 Needinfo :susheel if you think this bug should be re-triaged.
Priority: P3 → P5
Flags: needinfo?(bignose1007+bugzilla)
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard

Reopening this bug and moving to the "Core::Audio/Video" component because this short.mp4.firstframe-ref.html test is still disabled on Android.

Product: Firefox for Android Graveyard → Core
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

The bug assignee didn't login in Bugzilla in the last 7 months.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: bechen → nobody
Flags: needinfo?(jmathies)
Flags: needinfo?(jmathies)
Severity: normal → S3
Flags: needinfo?(jmathies)

Comment on attachment 8892755 [details]
log

ไม่มีใครไปทำอะไรให้พวกคุณหลอกมีแต่พวกคุณว่างแผนอนาคตของตัวคุณเองและทำด้วยสองมือของคุณเองถึงได้มีคำพูดที่ว่า( ไม่ทำไม่มีไม่ดีไม่ได้)ทำมากได้มากแน่นอนคับ

Flags: needinfo?(jmathies)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: