[Bug 72220] [HSW/BYT/BDW sprite planes] Color error while playing video by 'mplayer -vo xv:adapter=1'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun May 4 08:09:27 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=72220

--- Comment #32 from Chris Wilson <chris at chris-wilson.co.uk> ---
mplayer asks what the best size is for a particular video frame - we obviously
report no scaling and so expect mplayer to fill the entire output. Maybe this

static int sna_video_sprite_best_size(ClientPtr client,
                                      XvPortPtr port,
                                      CARD8 motion,
                                      CARD16 vid_w, CARD16 vid_h,
                                      CARD16 drw_w, CARD16 drw_h,
                                      unsigned int *p_w,
                                      unsigned int *p_h)
{
        struct sna_video *video = port->devPriv.ptr;
        struct sna *sna = video->sna;

        if (sna->kgem.gen >= 075) {
                *p_w = vid_w;
                *p_h = vid_h;
        } else {
                *p_w = drw_w;
                *p_h = drw_h;
        }

        return Success;
}

is garbage?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140504/1cabd940/attachment.html>


More information about the intel-gfx-bugs mailing list