Open Bug 1331331 Opened 7 years ago Updated 2 years ago

Add an error state object to MDSM

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

People

(Reporter: jwwang, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

MDSM notify an error when decoding errors are encountered.

http://searchfox.org/mozilla-central/rev/0aed9484bd3e97206fd1949ee4a4992ef300a81f/dom/html/HTMLMediaElement.cpp#5201
However, HTMLMediaElement doesn't shut down MediaDecoder when the error is received.

We want optimize MDSM a little bit in this case by adding an error state to release decoders for better resource usage.

Also since the error is not recoverable, the error state should reject any playback requests like seek, play or pause.
Assignee: nobody → jwwang
Blocks: 1331325
Priority: -- → P3
Assignee: jwwang → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: