Closed Bug 1189776 Opened 9 years ago Closed 9 years ago

Live DASH video doesn't play on Windows

Categories

(Core :: Audio/Video: Playback, defect)

Unspecified
Windows
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: jya, Assigned: jya)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

This DASH file http://dash.bidi.int.bbc.co.uk/e/pseudolive/bbb/client_manifest.mpd

doesn't play on Windows.

The first sample timestamp for this stream is 31031251200000 (in microseconds)

The WMF decoder ; store the time of the first sample ever decoded in "Samples".

To convert 31031251200000 into Samples we do:
Convert 31031251200000 into 10nanoseconds = 310312512000000
310312512000000 * Sampling_Rate = 310312512000000 * 48000 <- this doesn't fit in a 64 bits.
Due to the overflow ; playback is interrupted.
Decode time were stored in number of samples ; which could cause integer overflow when performing the conversion.
Attachment #8641706 - Flags: review?(cpearce)
Assignee: nobody → jyavenard
Attachment #8641706 - Flags: review?(cpearce) → review+
https://hg.mozilla.org/mozilla-central/rev/b4a3696bed55
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: