Hello everybody, Eventually I finished work on Win32 Ekiga fullscreen. As I suspected, SDL_Inits+SDL_SetVideoMode and SDL_Quits have to be executed from the same thread in order to remove reliably the SDL_app window. As Julien suggested, I attached the fullscreen switching to the GLib main event loop where it is done asynchronously during idle. I used VIDEO_DISPLAY_KEY "zoom_factor" to indicate that video switching to fullscreen has completed or switching from fullscreen has started. So the drawing threads know where to send output. I attached two patches again. ekiga_win32-1.patch just fixes the SDL hung window issue. ekiga_win32-2.patch also includes my other wishes for the Win32 Version: Block a second Ekiga instance, add command line parsing to Egika without SDL, you need it for debug output. Console output of Win32-SDL is redirected to two files stdout.txt and stderr.txt in the working directory. To use it change to a directory into which you are allowed to write, start ....\ekiga.exe -d 6 from there. Note that you need the space between d and 6. Alternatively you can use --debug 6 as argument. With an appropriately edited Windows link you can get Ekigas debug output in stderr.txt without console. As to linking SDL dynamically, in the beginning I got "Application failed to initialize properly 0xC000007b" errors when Ekiga started. I found out that you must not strip SDL.dll (perhaps its an MS-compiled one). Those who are interested how I build Ekiga find an ekiga_build.tgz at http://wwwuser.gwdg.de/~mrickma/ekiga/. I also put a binary in ekiga.zip up there. So you can test fullscreen without having to build. Regards Michael
Attachment:
ekiga-win32-patches.tar.gz
Description: application/tgz