Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.cpp b/noncore/multimedia/opieplayer2/lib.cpp index 748ae1f..d8a0694 100644 --- a/noncore/multimedia/opieplayer2/lib.cpp +++ b/noncore/multimedia/opieplayer2/lib.cpp | |||
@@ -93,7 +93,7 @@ Lib::Lib(XineVideoWidget* widget) { | |||
93 | printf("!0\n" ); | 93 | printf("!0\n" ); |
94 | resize ( m_wid-> size ( )); | 94 | resize ( m_wid-> size ( )); |
95 | ::null_set_mode( m_videoOutput, qt_screen->depth(), qt_screen->pixelType() ); | 95 | ::null_set_mode( m_videoOutput, qt_screen->depth(), qt_screen->pixelType() ); |
96 | m_wid-> setImage ( new QImage ( Resource::loadImage("") ) ); | 96 | m_wid-> setLogo ( new QImage ( Resource::loadImage(""))); |
97 | m_wid->repaint(); | 97 | m_wid->repaint(); |
98 | } | 98 | } |
99 | null_display_handler( m_videoOutput, | 99 | null_display_handler( m_videoOutput, |
@@ -228,7 +228,5 @@ void Lib::drawFrame( uint8_t* frame, int width, int height, int bytes ) { | |||
228 | } | 228 | } |
229 | // qWarning("called draw frame %d %d", width, height); | 229 | // qWarning("called draw frame %d %d", width, height); |
230 | 230 | ||
231 | m_wid->setImage( frame, width, height, bytes ); | 231 | m_wid-> setVideoFrame ( frame, width, height, bytes ); |
232 | // m_wid->repaint(false); | ||
233 | |||
234 | } | 232 | } |