Ticket #10688: subtitle.patch

File subtitle.patch, 819 bytes (added by almvtb@…, 13 years ago)
  • mythtv/libs/libmythtv/subtitlescreen.cpp

    diff --git a/mythtv/libs/libmythtv/subtitlescreen.cpp b/mythtv/libs/libmythtv/subtitlescreen.cpp
    index f3c8914..8deda80 100644
    a b void SubtitleScreen::DisplayAVSubtitles(void) 
    775775                   (currentFrame->width  < right))
    776776                {
    777777                    int sd_height = 576;
    778                     if ((m_player->GetFrameRate() > 26.0f) && bottom <= 480)
     778                    if ((m_player->GetFrameRate() > 26.0f ||
     779                         m_player->GetFrameRate() < 24.0f) && bottom <= 480)
    779780                        sd_height = 480;
    780781                    int height = ((currentFrame->height <= sd_height) &&
    781782                                  (bottom <= sd_height)) ? sd_height :