Code: Select all
const char * const vlc_args[] = {
"--extraintf=http:logger",
"--verbose=1",
"--file-logging",
"--logfile=/home/username/data/logs/vlc",
"--no-video-title-show"};
vlc_inst = libvlc_new (sizeof(vlc_args) / sizeof(vlc_args[0]), vlc_args);
Here is how I defined the key press marquee:
Code: Select all
libvlc_video_set_marquee_int(media_player, 0, 1); /* enable marquee */
libvlc_video_set_marquee_int(media_player, 7, 3000); /* set marquee timeout (ms) */
libvlc_video_set_marquee_string(media_player, 1, "test");
Code: Select all
vlc_inst = libvlc_new(0, NULL);