Closed Bug 1867634 Opened 10 months ago Closed 10 months ago

[wmfme] notify media element `resize` when the video intrinsic size change

Categories

(Core :: Audio/Video: Playback, task, P2)

task

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

For media engine playback, we haven't hooked the size change callback to media element yet, so we can't receive resize event on the media element.

In order to enable test_FrameSelection.html, which can test resize
event, I need to fix this incorrect current time problem that makes that
failed.

We also have same time adjustment in the MDSM [1].

[1]
https://searchfox.org/mozilla-central/rev/d84469b005106c5ab0f65e283f71c1415ce76c54/dom/media/MediaDecoderStateMachine.cpp#1937-1940

Depends on D195195

Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e403c99d6562 part1 : notify video resizing to the content process. r=jolin https://hg.mozilla.org/integration/autoland/rev/f3dfebba0355 part2 : fix the problem of incorrect current time after seeking. r=jolin https://hg.mozilla.org/integration/autoland/rev/3f7c7318c7dd part3 : enable 'test_FrameSelection' in wmfme to check 'resize' event. r=jolin
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: