Closed
Bug 1052239
Opened 11 years ago
Closed 11 years ago
MSE main thread assertion when seeking
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: cajbir, Assigned: cajbir)
References
Details
Attachments
(1 file, 1 obsolete file)
|
8.46 KB,
patch
|
cajbir
:
review+
|
Details | Diff | Splinter Review |
When seeking in an MSE video an assertion occurs about calling MediaSource::ActiveSourceBuffers on a non-main thread. This assertion was added in a recent landing.
Steps to reproduce:
1) Visit http://cd.pn/mse/ytdemo/dash-player.html?url=http://cd.pn/mse/ytdemo/feelings2.mpd
2) When video plays, seek somewhere
Expected result
3) Video seeks
Actual result
4) Firefox crashes with assertion
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → cajbir.bugzilla
| Assignee | ||
Comment 1•11 years ago
|
||
Iterate through decoders instead of source buffers.
Attachment #8471304 -
Flags: review?(kinetik)
Comment 2•11 years ago
|
||
Comment on attachment 8471304 [details] [diff] [review]
1052239.patch
Review of attachment 8471304 [details] [diff] [review]:
-----------------------------------------------------------------
r+ with comments.
Remove SourceBuffer::ContainsTime and SourceBufferList::AllContainsTime since they're no longer used.
::: content/media/mediasource/SubBufferDecoder.cpp
@@ +133,5 @@
> + nsresult rv = GetBuffered(ranges);
> + if (NS_FAILED(rv) || ranges->Length() == 0) {
> + return false;
> + }
> + for (uint32_t i = 0; i < ranges->Length(); ++i) {
Use TimeRanges::Find please.
Attachment #8471304 -
Flags: review?(kinetik) → review+
| Assignee | ||
Comment 3•11 years ago
|
||
Address review comments. Carry r+ forward.
Attachment #8471304 -
Attachment is obsolete: true
Attachment #8471318 -
Flags: review+
| Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Updated•11 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•