|
From: <oz...@al...> - 2004-06-18 08:01:17
|
Hi, This is a patch to enable the Mac OS X video output driver to draw to a view instead of a window. The big advantage is that this means we can embed xine's video output in another window, rather than forcing the output to be in a totally separate window. The only API change required for applications which use the current macosx video output driver is that they should now pass a pointer to the XineOpenGLView rather than the XineVideoWindow. (i.e. pass [window getGLView] to xine_open_video_driver, instead of just the window.) The implementation of XineVideoWindow resizes automatically when the XineOpenGLView inside it resizes, so there's no behaviourial change there. -- % Andre Pang : trust.in.love.to.save |