Closed Bug 1241003 Opened 8 years ago Closed 8 years ago

Handle AudioData with 0 frames

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

Details

Attachments

(1 file)

https://hg.mozilla.org/mozilla-central/file/b67316254602a63bf4e568198a5c7d3288a9db27/dom/media/mediasink/DecodedAudioDataSink.cpp#l236

It is possible for an AudioData to have 0 frames. We should ignore it and continue to process the next element to avoid silence.
Assignee: nobody → jwwang
Comment on attachment 8710897 [details]
MozReview Request: Bug 1241003 - ignore AudioData with 0 frames to avoid silence. r=kinetik.

https://reviewboard.mozilla.org/r/31905/#review28629
Attachment #8710897 - Flags: review?(kinetik) → review+
Thanks!
https://hg.mozilla.org/mozilla-central/rev/357a870647f2
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: