aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2008-12-09 21:31:39 +0100
committerghost <andreas.monzner@multimedia-labs.de>2008-12-09 21:31:39 +0100
commitc634e149898349456965ca2dab6b66dc8e2a0e06 (patch)
tree90732566ddf950c44d7a3bffa3ebe903010cfec6 /lib/python/Plugins
parent70f8d30f912fa0c9f2defdf3a40b59fa5e21c656 (diff)
downloadenigma2-c634e149898349456965ca2dab6b66dc8e2a0e06.tar.gz
enigma2-c634e149898349456965ca2dab6b66dc8e2a0e06.zip
blit just needed regions
Diffstat (limited to 'lib/python/Plugins')
-rw-r--r--lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp b/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp
index 5d6a0870..4a85a020 100644
--- a/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp
+++ b/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp
@@ -176,8 +176,11 @@ void eServiceDVD::gotMessage(int /*what*/)
}
case DDVD_SCREEN_UPDATE:
eDebug("DVD_SCREEN_UPDATE!");
- if (m_subtitle_widget)
- m_subtitle_widget->setPixmap(m_pixmap, eRect(ePoint(0, 0), m_pixmap->size()));
+ if (m_subtitle_widget) {
+ int x1,x2,y1,y2;
+ ddvd_get_last_blit_area(m_ddvdconfig, &x1, &x2, &y1, &y2);
+ m_subtitle_widget->setPixmap(m_pixmap, eRect(x1, y1, x2-x1, y2-y1));
+ }
break;
case DDVD_SHOWOSD_STATE_PLAY:
{