Although vlc is moving away from wxwidgets this is an attemp to move wxwidgets towards vlc (libvlc to be more precise)..
The libvlc API is fairly new and VERY promissing.. It exports ALL the functionality of vlc into a nice c API .
On the other hand wxWidgets is a very rich ( and also community based ) growing X platform library. It covers the 3 basic platforms (MSW, LINUX, MAC) and more..
So wxVLCBackendv2 is a wxMediaCtrl backend. The last is a stub media player in wxWidgets and provides an interface for various kinds of backends (gssteamer, wmp,...) . wxVLCBackend maybe integrated in the official wxwidgets code..
The code is not mature enough yet, so i'll start this topic with a wx-vlc (PoC) glue app (that shares code with the backend) for testing. The backend itself will be puiblished when it'll be mature enough..
wxvlc_test is a simple app. In the textbox you give a filename and the with play it starts the vlc engines. In my tests wxvlc_test crashes when starting playing ( somewhere inside libavcodec library with no other dubuging symbols ) *some* avis.. On the other hand vlc plays these same files smoothly.
***Tests were done on vlc-0.9.5 ***
My intentions for this publication are :
a) to test the glue code on other systems ( my tests are on linux ONLY so dont ask me, but windows could be tested too )
b) to check the glue code correctness by a vlc internalls well-knower (maybe i miss something,
cause i cant explain that libavcodec crashes)
Information for wxvlc_test is provided in the README as well
The glue code provides a guide to integrade libvlc in other c/c++ gui frameworks as well. In fact the only TRICKY part was to get a low-level hadle for the drawable surface.
I'll mark it again : This is a PoC *testing* code. See it as a free playground. The real thing will come later on the way when it'll be its time. Also please post any feedback.
basos
EDITED::
I provided the source in easy to read patch format in the wiki page
Also it would be nice to give a git place for it