Bug 34965

Summary: With hardware acceleration turned off, video frames never display if poster image is specified
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: MediaAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Testcase (BWO image and video)
none
Patch eric.carlson: review+

Description Simon Fraser (smfr) 2010-02-15 19:49:07 PST
Created attachment 48785 [details]
Testcase (BWO image and video)

When accelerated compositing is disabled, a video element with a poster image doesn't start showing the video once frames become available.
Comment 1 Simon Fraser (smfr) 2010-02-15 19:49:30 PST
<rdar://problem/7651526>
Comment 2 Simon Fraser (smfr) 2010-02-15 20:03:10 PST
Created attachment 48786 [details]
Patch
Comment 3 Eric Carlson 2010-02-15 20:27:59 PST
Comment on attachment 48786 [details]
Patch

Because updatePosterImage is now called for every video frame, it might make sense to change HTMLVideoElement::updatePosterImage so hasAvailableVideoFrame() is called before poster().isEmpty() as I assume it is cheaper as the later requires an allocation. 

r=me either way
Comment 4 Simon Fraser (smfr) 2010-02-16 14:04:58 PST
http://trac.webkit.org/changeset/54828