RESOLVED FIXED54771
WebKit2: Media document videos play only sound, no video (affects trailers.apple.com)
https://bugs.webkit.org/show_bug.cgi?id=54771
Summary WebKit2: Media document videos play only sound, no video (affects trailers.ap...
Jer Noble
Reported 2011-02-18 14:02:25 PST
Videos played in a media document don't display video (just audio) under WebKit2.
Attachments
Patch (3.07 KB, patch)
2011-02-18 14:21 PST, Jer Noble
sam: review+
Jer Noble
Comment 1 2011-02-18 14:02:48 PST
Jer Noble
Comment 2 2011-02-18 14:21:41 PST
Sam Weinig
Comment 3 2011-02-18 19:29:00 PST
Comment on attachment 83007 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=83007&action=review > Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:1533 > // Also don't claim to support accelerated rendering when in the media document, as we will then render > // via QTMovieView which is already accelerated. > - return isReadyForVideoSetup() && getQTMovieLayerClass() != Nil && !m_player->inMediaDocument(); > + return isReadyForVideoSetup() && getQTMovieLayerClass() != Nil; The comment here seems incorrect now.
Jer Noble
Comment 4 2011-02-18 21:29:35 PST
(In reply to comment #3) > (From update of attachment 83007 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=83007&action=review > > > Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:1533 > > // Also don't claim to support accelerated rendering when in the media document, as we will then render > > // via QTMovieView which is already accelerated. > > - return isReadyForVideoSetup() && getQTMovieLayerClass() != Nil && !m_player->inMediaDocument(); > > + return isReadyForVideoSetup() && getQTMovieLayerClass() != Nil; > > The comment here seems incorrect now. I'll delete it. Thanks!
Jer Noble
Comment 5 2011-02-21 15:51:43 PST
Note You need to log in before you can comment on or make changes to this bug.