[vlc-devel] text_style_t and font style

Peter Tap ptrtap at yahoo.com
Thu Mar 22 07:17:18 CET 2012

Ok. I think I found the problem. 

When marquee text has to be displayed, the text renderer in VLC picks up whatever font that was previously used. So, if you "show media title on video start" checked, the media file name gets displayed first. Next, the marquee filter uses the same font to display the marquee text. 

Alternatively, you can run the following command and see that the marquee text is working:

vlc --sub-filter=marq --video-title-show mymedia1.mp4

If you uncheck "show media title on video start," or run the following command, you will see that marquee text NEVER gets displayed:

vlc --sub-filter=marq --no-video-title-show mymedia1.mp4

Looks like there are two bugs in VLC:

1. VLC must not be dependent on video-title-show to display the marquee text.
2. Video-title-show picks up a different font based on the movie being played. This is a bit puzzling.

In my case, we cannot have video-title-show checked. I would appreciate it if anyone can suggest a workaround to get the marquee work.

Thank you in advance for your help.


 From: Peter Tap <ptrtap at yahoo.com>
To: Mailing list for VLC media player developers <vlc-devel at videolan.org> 
Sent: Wednesday, March 21, 2012 6:05 PM
Subject: [vlc-devel] text_style_t and font style


The constructor for text_style_t initializes the font name to NULL. I am wondering how VLC determines the actual font to use. I see that the marquee filter is picking up two different fonts for two different movies. In the code, psz_fontname field of the text style remains NULL.

Thank you in advance for your help.


vlc-devel mailing list
To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120321/27974b9b/attachment.html>

More information about the vlc-devel mailing list