lists.zerezo.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

***BOGO*** Re: [MPlayer-dev-eng] [PATCH] wid support with vo_sdl



Ricardo Salveti wrote:

> Hi all,
> 
> I was using mplayer inside another application and wanted to use it
> with sdl, but the vo_sdl doesn't support the '-wid' option. To solve
> this problem I created this patch, based on vo_x11 and vo_xv.
> 
> Basically you have to export "SDL_WINDOWID" before initializing the
> SDL engine, and after setting everything up you just get the window
> width and height and set the video size.
> 
> When using SDL with window id, the events will go to the X window, so
> we need to check the resize event to set the new video size.
> 
> Please take a look at the code, this is my first patch to mplayer, so
> I don't know if I did everything right.

It won't compile when HAVE_X11 is not defined.

Aurel
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng