Mailing List Archive

mythtv/master commit: bfeabeeb1 by Mark Kendall (mark-kendall)
Author: Mark Kendall <mkendall@mythtv.org>
Change Date: 2011-05-03T00:13:26-07:00
Push Date: 2011/05/03 00:13:36 -0700
Repository: mythtv
Branch: master
New Revision: bfeabeeb189950411abd09ace0f0d19f1a6e607a
Changeset: https://github.com/MythTV/mythtv/commit/bfeabeeb1

Log:

Add ASS/SSA subtitle support.

Based on the final patch from Shawn King (thank you) in #9294 with the
following changes:-

- fixed the display area to line up with the video rect.
- only initialise libass when required.
- various additional NULL pointer checks and minor refactors.
- use SubtitleScreen::m_safeArea in the ass code.

I chose to use a compile time dependency on libass rather than create
another internal library version (and avoid the maintenance that it
would need) or use dynamic linking (extra complexity). As noted in
configure, the libass version (although not actually checked) needs to
be at least 0.9.10 - which is probably still too new for the libass
version packaged with most distros.

Closes #9294

Modified:

mythtv/configure
mythtv/libs/libmythtv/libmythtv.pro
mythtv/libs/libmythtv/subtitlescreen.cpp
mythtv/libs/libmythtv/subtitlescreen.h

_______________________________________________
mythtv-firehose mailing list
mythtv-firehose@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-firehose