[MPlayer-dev-eng] [PATCH] autodetect screen size for vo_mga fullscreen

Jason Lunz j at falooley.org
Thu Jan 31 17:19:25 CET 2002


dalias at aerifal.cx said:
> in actuality this shouldn't be a problem, since it looks to me like
> the code falls back gracefully if it can't open the fb device.

yes. And the values from the framebuffer device are only used if the
user doesn't set something manually with -screenh and -screenw.

> however, there probably should be a check to make sure the fb device
> opened is actually the same card/head as mga_vid is driving, and i'm
> not sure how easily this can be done.

I don't know how to do this either, but my patch should still be OK
because the user can still force whatever value they want. The patch
only changes the default.

Jason



More information about the MPlayer-dev-eng mailing list