huceke/omxplayer — pull request #18 by torarin (2012-07-08 02:20:31+00:00)
Title: OpenVG subtitles

Renders subtitles using Freetype for glyph rendering and OpenVG for glyph caching and compositing. I've been conservative about adding new options, only font path and font size for now, otherwise I think the defaults are good.

I wish I could have timed the subtitles using OpenMAX media time requests, but unfortunately they don't seem to work when the clock is tunnelled to other components. Instead, I use a loop which sleeps for 16 ms when idle.

Does not parse italics yet.