[MPlayer-dev-eng] Screensize

Jesper Svennevid mplayer at svennevid.net
Wed Jun 5 10:58:20 CEST 2002


How do I determine the actual screensize when playing a video?
vo_screenwidth and vo_screenheight contains the original size
(and is used when restoring videomode, I noticed that :), and
I can't find it anywhere except in aspect.c/aspdat.(scrw|scrh),
and those aren't publically available.

I added for the time being a function that gives me a copy of
these values, but is there any other "official" way of getting
them? I need them for proper scaling depending on the screen-
mode used.

-- 
// Jesper Svennevid



More information about the MPlayer-dev-eng mailing list