Closed Bug 813209 Opened 12 years ago Closed 12 years ago

Refactor MediaResource into CommonMediaResource so that we can base the implementation of BufferMediaResource on top of MediaResource

Categories

(Core :: Audio/Video, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch (v1) (obsolete) (deleted) — Splinter Review
I need this refactoring in order to make it possible to implement BufferMediaResource which represents a media resource sitting in a memory buffer.
Attachment #683194 - Flags: review?(cpearce)
Comment on attachment 683194 [details] [diff] [review] Patch (v1) Review of attachment 683194 [details] [diff] [review]: ----------------------------------------------------------------- s/CommonMediaResource/BaseMediaResource/
Attachment #683194 - Flags: review?(cpearce) → review+
Backed out because of leaks: https://hg.mozilla.org/integration/mozilla-inbound/rev/da5c7437f563 I suspect the leaks might be happening because I'm counting the wrong ctor/dtor...
Attached patch Patch (v2) (deleted) — Splinter Review
Yep, this fixes the leaks.
Attachment #683194 - Attachment is obsolete: true
Attachment #683336 - Flags: review?(cpearce)
Attachment #683336 - Flags: review?(cpearce) → review+
What's BufferMediaSource/MediaSource in the bug summary? Did you mean BufferMediaResource/MediaResource?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #6) > What's BufferMediaSource/MediaSource in the bug summary? Did you mean > BufferMediaResource/MediaResource? Yes, sorry for the mistake. The idea is that BufferMediaResource will be an implementation of MediaResource based on top of an in-memory buffer.
Summary: Refactor MediaResource into CommonMediaResource so that we can base the implementation of BufferMediaSource on top of MediaSource → Refactor MediaResource into CommonMediaResource so that we can base the implementation of BufferMediaResource on top of MediaResource
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: