Closed
Bug 1309517
Opened 8 years ago
Closed 8 years ago
Remove MFR::mDemuxerInitDone
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
INVALID
People
(Reporter: kaku, Assigned: kaku)
References
Details
MFR::mDemuxerInitDone is only read here: http://searchfox.org/mozilla-central/rev/e8dd21b1673c07307068303ab3e99360c78f4d12/dom/media/MediaFormatReader.cpp#1922 And |MFR::mDemuxerInitDone| should be equivalent to |mDemuxerInitRequest.Exists()|. I think we can just remove MFR::mDemuxerInitDone.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → kaku
Comment 1•8 years ago
|
||
It (In reply to Tzuhao Kuo [:kaku] from comment #0) > MFR::mDemuxerInitDone is only read here: > http://searchfox.org/mozilla-central/rev/ > e8dd21b1673c07307068303ab3e99360c78f4d12/dom/media/MediaFormatReader.cpp#1922 > > And |MFR::mDemuxerInitDone| should be equivalent to > |mDemuxerInitRequest.Exists()|. > It is not equivalent. mDemuxerInitDone indicates that the initialisation completed and succeeded. Checking that the request exists only give you that information, it doesn't tell you if it has finished and succeeded. Check the blame for this line, you will find the bug where this check was added because distinguishing both condition is inportant > I think we can just remove MFR::mDemuxerInitDone.
Assignee | ||
Comment 2•8 years ago
|
||
Yes, you're right. I did not consider it carefully, will close this bug.
Updated•8 years ago
|
Priority: -- → P3
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•