Closed Bug 708116 Opened 10 years ago Closed 10 years ago
Factor out video frame update logic
Currently nsMediaDecoder/nsBuiltinDecoder have logic for setting the current video frame and updating the current video frame intrinsic size, triggering reflows and invalidation. This needs to be factored out so that it can be used when the media element doesn't have a decoder, e.g. when it's playing a MediaStream.
This introduces a new nsVideoFrameContainer object to manage the "current video frame" state of a video element.
rename to mozilla::VideoFrameContainer.
Merged in some extra changes from my media-streams branch. Basically just need to keep a pointer to the element in the class.
Comment on attachment 596953 [details] [diff] [review] fix v4 License headers for new files should probably use the new boilerplate? http://www.mozilla.org/MPL/headers/
Attachment #596953 - Flags: review?(chris.double) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in before you can comment on or make changes to this bug.