diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-06-03 14:53:50 +0200 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-06-03 14:59:33 +0200 |
| commit | 00586dbca9bd75b5093512603156a1d2c0ee0ee8 (patch) | |
| tree | 762c566f4575199c7e3914afe0d08e4a1ce98999 /lib/python/Plugins/Extensions/DVDPlayer | |
| parent | db19ee29600fc28174452e406b40af52f5183178 (diff) | |
| download | enigma2-00586dbca9bd75b5093512603156a1d2c0ee0ee8.tar.gz enigma2-00586dbca9bd75b5093512603156a1d2c0ee0ee8.zip | |
use 720x576 subtitle pixmap, and scale to fullscreen
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDPlayer')
| -rw-r--r-- | lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp b/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp index 2b3eab0b..ea1afec4 100644 --- a/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp +++ b/lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp @@ -562,11 +562,11 @@ RESULT eServiceDVD::enableSubtitles(eWidget *parent, SWIG_PYOBJECT(ePyObject) /* m_subtitle_widget = new eSubtitleWidget(parent); m_subtitle_widget->resize(parent->size()); - eSize size = parent->size(); + eSize size = eSize(720, 576); if (!m_pixmap) { - m_pixmap = new gPixmap(size, 32); + m_pixmap = new gPixmap(size, 32, 1); /* allocate accel surface (if possible) */ ddvd_set_lfb(m_ddvdconfig, (unsigned char *)m_pixmap->surface->data, size.width(), size.height(), 4, size.width()*4); run(); // start the thread } |
