How MPlayer starts on a specific coordinates?

Hi all,

I am using ffmpeg and SDL to work on a media player program,
as I know, the MPlayer can starts on a specific position by giving parameters as
10:10 -x 320 -y 240,
I would like to know how can make SDL starts on a specific position instead of
randomly?

thanks,
Oliver

have a look at the sdl environment variables doc page.

It’s in there.On 8/23/07, oliver wrote:

Hi all,

I am using ffmpeg and SDL to work on a media player program,
as I know, the MPlayer can starts on a specific position by giving parameters as
10:10 -x 320 -y 240,
I would like to know how can make SDL starts on a specific position instead of
randomly?

thanks,
Oliver


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

have a look at the sdl environment variables doc page.

It’s in there.

There’s also an official API in SDL 1.3

See ya!
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment