[Libva] MPlayer's vo_vaapi does not respect -geometry param (needs to handle VOCTRL_UPDATE_SCREENINFO)

Adam Strzelecki ono at java.pl
Fri Feb 12 07:53:49 PST 2010


Gwenole,

When using mplayer vo_vaapi it does not respect -geometry param which modifies MPlayer's window size & placement. AFAIK this seems to be caused by
static int control(uint32_t request, void *data, ...) ignoring VOCTRL_UPDATE_SCREENINFO request.

Adding:
    case VOCTRL_UPDATE_SCREENINFO:
        update_xinerama_info();
        return VO_TRUE;

makes the -geometry param work properly.

Regards,
-- 
Adam | nanoant.com


More information about the Libva mailing list