Closed
Bug 1047824
Opened 12 years ago
Closed 12 years ago
MP4Reader needs to call PlatformDecoderModule::Shutdown()
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: cpearce, Assigned: cpearce)
Details
Attachments
(2 files)
|
8.43 KB,
patch
|
kinetik
:
review+
|
Details | Diff | Splinter Review |
|
1.44 KB,
patch
|
rillian
:
review+
|
Details | Diff | Splinter Review |
D'oh! MP4Reader was supposed to call PlatformDecoderModule::Shutdown(), but actually doesn't. It should...
It should really also call PlatformDecoderModule::Shutdown() on the decode task queue instead of on the main thread (like the comments in PDM.h say), since every other call into the PDM is on the decode task queue too.
| Assignee | ||
Comment 1•12 years ago
|
||
* Make MP4Reader::Shutdown() override MediaDecoderReader::Shutdown(), so it's called on the decode task queue (instead (probably) the main thread in MP4Reader's dtor). This means MP4Reader::Shutdown()'s calls to MediaDataDecoder::Shutdown() and the shutdown of the decode task queues happen on the decode task queue instead of the main thread.
* Add PDM::Shutdown() call to MP4Reader::Shutdown(), and adjust comments in PDM.h to match reality.
Attachment #8466641 -
Flags: review?(kinetik)
| Assignee | ||
Comment 2•12 years ago
|
||
* Make AppleDecoderModule::Shutdown() defer Unlink to the main thread; so it works when called from the decode task queue with patch 1 applied.
Attachment #8466642 -
Flags: review?(giles)
Comment 3•12 years ago
|
||
Comment on attachment 8466642 [details] [diff] [review]
Patch 2: Make Apple PDM Shutdown work OMT
Review of attachment 8466642 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with syntax error addressed.
::: content/media/fmp4/apple/AppleDecoderModule.cpp
@@ +69,2 @@
> nsresult
> AppleDecoderModule::Shutdown()
Missing open brace here.
Attachment #8466642 -
Flags: review?(giles) → review+
Updated•12 years ago
|
Attachment #8466641 -
Flags: review?(kinetik) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e33eb233cd50
https://hg.mozilla.org/mozilla-central/rev/b32edb4b9952
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•