Summary: | MediaPlayerPrivateAVFoundation should report that it supportsFullScreen() | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||||
Component: | Media | Assignee: | Jer Noble <jer.noble> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | Keywords: | InRadar | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.6 | ||||||||
Attachments: |
|
Description
Jer Noble
2011-03-28 10:42:55 PDT
Created attachment 87189 [details]
Patch
Comment on attachment 87189 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=87189&action=review > Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:393 > + // FIXME: WebVideoFullscreenController assumes a QTKit/QuickTime media engine I don’t understand this FIXME. Created attachment 87190 [details]
Patch
Now with 200% more ChangeLogs\!
Comment on attachment 87189 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=87189&action=review >> Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:393 >> + // FIXME: WebVideoFullscreenController assumes a QTKit/QuickTime media engine > > I don’t understand this FIXME. I moved the FIXME here from the header. Our previous full screen implementation (WebVideoFullscreenController) relies on QTKit, as a single QTMovie can drive multiple QTMovieLayers. But this means the implementation is specific to a QTKit-backed MediaPlayer. If FULLSCREEN_API is not enabled, it would be unsafe to return "true" here without addressing the underlying assumptions made by WebVideoFullscreenController. Committed r82167: <http://trac.webkit.org/changeset/82167> |