Code: Select all
const char *params[] = {
"--ignore-config",
};
vlcInstance = libvlc_new(sizeof(params) / sizeof(params[0]), params);
player = libvlc_media_player_new(vlcInstance);
libvlc_media_t* media = libvlc_media_new_path(vlcInstance, (const char*)ccName);
libvlc_media_player_set_media(player, media);
// and so on...