Closed
Bug 501289
Opened 16 years ago
Closed 14 years ago
Really fast videos (393 frames/millisecond) are exciting to watch...
Categories
(Core :: Audio/Video, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: kinetik, Assigned: kinetik)
Details
Attachments
(2 files)
...but livelock the browser.
715 mon.Wait(PR_MillisecondsToInterval(PRInt64(mCallbackPeriod*1000)));
(gdb) p mCallbackPeriod
$11 = 2.54312499e-06
(gdb) p mCallbackPeriod*1000
$12 = 0.002543124992371304
(gdb) p (long long)(mCallbackPeriod*1000)
$13 = 0
Assignee | ||
Comment 1•16 years ago
|
||
Forgot to note: this could be a dupe of bug 501285, depending on how we decide to fix it.
Assignee | ||
Comment 2•16 years ago
|
||
So what happens is the main thread is waiting on the decoder lock (e.g. to call NotifyDownloadEnded), and the decoder never drops the lock because the wait interval is 0.
Assignee | ||
Comment 3•16 years ago
|
||
I wasn't sure if it was worth filing another bug for this testcase, so I'm erring on the side of not, since it's pretty similar.
We end up with an extremely small mCallbackPeriod value, but this time it's caused by the sample rate of the Vorbis track being 184MHz.
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → kinetik
Assignee | ||
Comment 4•15 years ago
|
||
Mark Banner sent me a private video showing that this bug happens in the wild. With a video produced by ffmpeg2theora 0.25, a video ended up with a framerate of 15750 FPS. Hopefully Mark will add a few details on how this video was produced, as it's likely we'll run into this problem again in the future.
When we eventually fix this bug, it'll either cause the video to be rejected, or to play it at some "sane" default framerate.
Comment 5•14 years ago
|
||
Matthew: do you still have the 15750 fps video you mention in comment 4? Does keyframe skipping come to our rescue here?
Assignee | ||
Comment 6•14 years ago
|
||
No, but there's an equivalent testcases attached to this bug.
Neither of the attached testcases cause problems with the current code as far as I can tell, so this bug is effectively fixed.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
I'm not sure what exactly the problem is I should be looking for to verify this fixed. Can someone please explain the issue in better detail? Thanks.
Assignee | ||
Comment 8•14 years ago
|
||
If the two attached testcases don't hang the browser, we're treating the bug as fixed.
(In reply to comment #8)
> If the two attached testcases don't hang the browser, we're treating the bug as
> fixed.
Thanks.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•