Index: libs/libmythtv/NuppelVideoPlayer.cpp =================================================================== --- libs/libmythtv/NuppelVideoPlayer.cpp (revision 8375) +++ libs/libmythtv/NuppelVideoPlayer.cpp (working copy) @@ -4725,9 +4725,19 @@ } } + // scale the subtitle images which are scaled for a 720x576 video resolution + // to fit the current video resolution + float hmult = GetVideoWidth() / 720.0; + float vmult = GetVideoHeight() / 576.0; + rect->x = rect->x * hmult; + rect->y = rect->y * vmult; + rect->w = rect->w * hmult; + rect->h = rect->h * vmult; + QImage scaledImage = qImage.smoothScale(rect->w, rect->h); + OSDTypeImage* image = new OSDTypeImage(); image->SetPosition(QPoint(rect->x, rect->y)); - image->LoadFromQImage(qImage); + image->LoadFromQImage(scaledImage); subtitleOSD->AddType(image);