make sure the minimum surface depth is 16bpp so we can create YUVoverlays.
authorLuigi Rizzo <rizzo@icir.org>
Sun, 23 Dec 2007 12:36:32 +0000 (12:36 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sun, 23 Dec 2007 12:36:32 +0000 (12:36 +0000)
commit2f592c52bd553ce83cf7a85fc643393fa930a9f0
treef8e60da532c7bde9d8ce0c811e6eb19fce6b7265
parent31dcae3ae0ed842cf8d0bacf90315af07f409f82
make sure the minimum surface depth is 16bpp so we can create YUVoverlays.
With this change we can do

setenv SDL_VIDEODRIVER aalib

and output to an ascii window (which is still in an X11 window).
If you also do

unsetenv DISPLAY

then the output goes into the main asterisk window, unfortunately
it interferes with the normal output so you don't see much.

In any case, i don't think we are very far away from having a working
xterm videophone!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/console_video.c