disable filename marquee without affecting other marquees
Posted: 14 May 2013 22:56
I'm trying to find a way to disable filename marquee without affecting other marquees. I can disable the filename marquee by passing the --no-video-title-show option to the instance:
When I play the video the filename marquee does not show, but when I press a key which has been defined to display a marquee string it just briefly flashes (less than one second) and then never shows again despite repeated presses of that same key.
Here is how I defined the key press marquee:
If I instead use the following code to define the vlc instance, the keypress marquee displays fine for 3 seconds as many times as I'd like it to.
How can I disable the filename marquee without affecting the others? Thanks.
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);