Permalink
Browse files

SubtitleScreen: Restore the black background for text and CC608

captions.

This is consistent with other caption types and maximises readability -
for which the black background was originally added.
  • Loading branch information...
1 parent 30bc6f4 commit c33a38680ef4d3abccd1670ce2bfe87661286e2b Mark Kendall committed Nov 5, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmythtv/subtitlescreen.cpp
@@ -503,7 +503,7 @@ void SubtitleScreen::DrawTextSubtitles(QStringList &wrappedsubs,
int pad_width = font.maxWidth() * PAD_WIDTH;
int y = m_safeArea.height() - (height * wrappedsubs.size());
int centre = m_safeArea.width() / 2;
- QBrush bgfill = QBrush(QColor(0, 0, 0, 128), Qt::SolidPattern);
+ QBrush bgfill = QBrush(QColor(0, 0, 0), Qt::SolidPattern);
foreach (QString subtitle, wrappedsubs)
{
if (subtitle.isEmpty())
@@ -720,7 +720,7 @@ void SubtitleScreen::DisplayCC608Subtitles(void)
int xscale = teletextmode ? 40 : 36;
int yscale = teletextmode ? 25 : 17;
gTextSubFont->GetFace()->setPixelSize(m_safeArea.height() / (yscale * 1.2));
- QBrush bgfill = QBrush(QColor(0, 0, 0, 128), Qt::SolidPattern);
+ QBrush bgfill = QBrush(QColor(0, 0, 0), Qt::SolidPattern);
for (; i != textlist->buffers.end(); ++i)
{

0 comments on commit c33a386

Please sign in to comment.