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

Gwenole Beauchesne gbeauchesne at splitted-desktop.com
Fri Feb 12 08:15:59 PST 2010


Hi,

On Fri, 12 Feb 2010, Adam Strzelecki wrote:

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

Thanks. Someone else actually sent me another patch for -geometry support. 
Your addition looks more common to current VOs. I will check it out.

Regards,
Gwenole.


More information about the Libva mailing list