[MPlayer-dev-eng] [PATCH] Make aa video output a bit more workable

Alessio Ababilov ilovegnulinux at gmail.com
Mon Mar 7 09:48:30 CET 2011


The old test method for "linux" aa driver checks file named like
/dev/vcsa01. Now udev names such files like /dev/vsca1. The problem is
fixed by checking both /dev/vsca1 and /dev/vcsa01. The old method of
checking if the file is writable uses fopen(fname, "w+"). It causes
/dev/vcsaXX to be created if it doesn't presents and the user can write
to /dev. The new method is to use open(fname, O_WRONLY).
This problem is fixed with mplayer-aa-1-vcsa.patch.

aa video output driver shows incorrect picture while using
monitor_pixel_aspect's default value 1. Since letter size is
approximately 1:2, aa works ok if monitor_pixel_aspect == 0.5. The patch
sets monitor_pixel_aspect to 0.5 if it was equal to 1. The user still
can set monitor_pixel_aspect to any other value, except 1.
This problem is fixed with mplayer-aa-2-aspect.patch.

AA library has a nice display driver called "slang". It works
  even if /dev/vcsaXX is not writable. It would be better if
"slang" were recommended to aalib. Also, the "linux" aa driver
should be recommended explicitly.
This problem is fixed with mplayer-aa-3-recom.patch

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer-aa-1-vcsa.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110307/044405e9/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer-aa-2-aspect.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110307/044405e9/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer-aa-3-recom.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110307/044405e9/attachment-0001.txt>


More information about the MPlayer-dev-eng mailing list