Closed Bug 1165585 Opened 10 years ago Closed 10 years ago

Enable MediaFormatReader with webaudio

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: jya, Assigned: jya)

References

Details

Attachments

(2 files, 1 obsolete file)

Web audio should be made to work with MediaFormatReader. Only adaptation required would be to use AsyncReadMetadata instead of ReadMetadata.
Use new AsyncReadMetadata API.
Attachment #8606629 - Flags: review?(cpearce)
Assignee: nobody → jyavenard
Status: NEW → ASSIGNED
Enable MediaFormatReader (for MP4) with web audio
Attachment #8606630 - Flags: review?(cpearce)
Attachment #8606630 - Flags: review?(cpearce) → review+
Comment on attachment 8606629 [details] [diff] [review] Part1. Use AsyncReadmetadata with web audio Review of attachment 8606629 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/media/webaudio/MediaBufferDecoder.cpp @@ +265,5 @@ > +void > +MediaDecodeTask::OnMetadataRead(MetadataHolder* aMetadata) > +{ > + mMediaInfo = aMetadata->mInfo; > + RequestSample(); You're removing the HasAudio() check, I don't think you should do that. Put it back.
Attachment #8606629 - Flags: review?(cpearce) → review+
Rebasing and carrying r+
Attachment #8606629 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: