[Webkit-unassigned] [Bug 53325] New: [Qt] canvas.drawImage(HTMLVideoElement) doesn't work with Qt Multimedia backend

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 28 12:53:57 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53325

           Summary: [Qt] canvas.drawImage(HTMLVideoElement) doesn't work
                    with Qt Multimedia backend
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zuh at iki.fi


Currently, the 2D canvas API call drawImage() with an video element fails to render the video frame to the canvas with the Qt Multimedia backend.

The drawImage() call eventually ends up calling MediaPlayerPrivate::paintCurrentFrameInContext() which simply delegates to paint().

There seems to be two issues with this:

 - When AC is enabled, the paint() call is a no-op, thus the rendering never happens.
 - Even without AC, rendering the scene to the context painter doesn't work (not sure why this is).

A simple solution for this is to reimplement the paintCurrentFrameInContext() and paint the QGraphicsVideoItem directly, so the video scene state doesn't affect the rendering (I suppose that's the problem currently).

Patch incoming.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list