[PATCH] Make aa video output workable
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. Also, 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). 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.
Alexei Ababilov <ilovegnulinux <at> gmail.com> writes:
aa video output driver shows incorrect picture while using monitor_pixel_aspect's default value 1.
Also, the old test method for "linux" aa driver checks file named like /dev/vcsa01. Now udev names such files like /dev/vsca1.
AA library has a nice display driver called "slang".
If these issues are unrelated, please send separate patches. Sorry, Carl Eugen
I would think that all these issues are related. They reside in preinit function of aa VO driver and they lead to bad AA picture. If you find these issues unrelated, I will split them into three smaller patches. On 03/01/2011 01:07 PM, Carl Eugen Hoyos wrote:
Alexei Ababilov<ilovegnulinux<at> gmail.com> writes:
aa video output driver shows incorrect picture while using monitor_pixel_aspect's default value 1. Also, the old test method for "linux" aa driver checks file named like /dev/vcsa01. Now udev names such files like /dev/vsca1. AA library has a nice display driver called "slang". If these issues are unrelated, please send separate patches.
Sorry, Carl Eugen
_______________________________________________ MPlayer-dev-eng mailing list MPlayer-dev-eng@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
participants (3)
-
Alessio Ababilov -
Alexei Ababilov -
Carl Eugen Hoyos