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

D Richard Felker III dalias at aerifal.cx
Thu Feb 7 05:45:35 CET 2002


hey

i saw that you posted about this patch on mplayer-users, and i'm not
subscribed there so i figured i'd respond to the original thread here
instead. the problem with your patch is that "/dev/fb0" might not be
the same device mga_vid is using. unfortunately, i don't know any way
around this problem without looking up pci bus id's and stuff, and
even then with a multihead card, i think there can be two separate fb
devices for the card, so it'd be hard to tell which is attached to
mga_vid. imo, the best solution, if we really want this functionality
(which would be nice, although my mpconsole script handles it ok),
would be to make the mga_vid driver actually read and export the
screen dimensions from the device it's using. i'm not sure how easily
this could be done, however.



rich





More information about the MPlayer-dev-eng mailing list