Closed Bug 1054824 Opened 10 years ago Closed 10 years ago

[EME] EMEDecryptor has no way of detecting GMP shutdown

Categories

(Core :: Audio/Video, defect)

29 Branch
x86_64
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: cpearce, Assigned: cpearce)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

If we're using the CDM/GMP in decrypt-only mode, then if the GMP crashes or shutsdown naturally while we're not decrypting, we won't receive any kind of notification. So if the decode thread is waiting for the MP4Reader to produce output (in the loop in MP4Reader::Decode()) then we won't ever be woken up to break out of the wait, and we'll hang on shutdown.
QA Contact: cpearce
Assignee: nobody → cpearce
QA Contact: cpearce
Attached patch PatchSplinter Review
If there are outstanding decodes when the CDM shuts down, report then as failed to the EMEDecryptor.
Attachment #8475634 - Flags: review?(edwin)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: