Closed Bug 1056408 Opened 6 years ago Closed 6 years ago

AppleDecoderModule Flush methods should flush their task queues

Categories

(Core :: Audio/Video, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: rillian, Assigned: rillian)

Details

Attachments

(1 file)

AppleVTDecoder and AppleATDecoder don't do anything to flush their mTaskQueue inside their Flush() methods. This could cause problems after seek as there could be data still pending there which would be submitted after the decoder was supposed to be cleared.
Attached patch Flush mTaskQueueSplinter Review
Thanks for the report, Chris.
Assignee: nobody → giles
Attachment #8476353 - Flags: review?(cpearce)
Attachment #8476353 - Flags: review?(cpearce) → review+
https://hg.mozilla.org/mozilla-central/rev/36ed12777929
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.