[Webkit-unassigned] [Bug 29997] New: Prevent double-memcpy in GStreamer media player

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 2 01:15:01 PDT 2009


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

           Summary: Prevent double-memcpy in GStreamer media player
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: slomo at circular-chaos.org


Hi,
currently the GStreamer media player memcpy's the video data twice but this
isn't really needed.

Currently the video sink has an internal surface to which all buffers are
painted and then in MediaPlayerPrivate::paint() this surface is painted to some
external cairo_t. Instead of doing that I would propose:

in MediaPlayerPrivate::paint() get the buffers from the sink's async queue,
check lateness and all that, scale (for par, etc) and then paint it to the
cairo_t. This might need some exposing of information from the video sink to
the media player.

-- 
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