Libvlc skins2 interface
Posted: 24 Oct 2010 15:48
Hi guys,
I have a problem with libvlc (1.0.5) in Visual C++ (Visual Studio 2008), when I try to start it with a skins2 interface a pop-up appears to select the theme.
When I select the theme (both .vlt that .xml) I get an Access Violation.
I would like that theme is directly selected as parameter, but when I try to do it I've got the same problem.
I use this code:
what's the mistake ?
I have a problem with libvlc (1.0.5) in Visual C++ (Visual Studio 2008), when I try to start it with a skins2 interface a pop-up appears to select the theme.
When I select the theme (both .vlt that .xml) I get an Access Violation.
I would like that theme is directly selected as parameter, but when I try to do it I've got the same problem.
I use this code:
Code: Select all
char *myarg0 = "-I"; char *myarg1 = "skins2=C:\\prova.vlt"; //prova.xml
char *myarg2 = "--plugin-path=C:\\Program Files\\VideoLAN\\VLC\\plugins";
char *myargs[3] = {myarg0, myarg1, myarg2};
char *filename = "dvd://D:";
libvlc_exception_init (&excp);
inst = libvlc_new (3, myargs, &excp);