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) { printf("!0\n" ); resize ( m_wid-> size ( )); ::null_set_mode( m_videoOutput, qt_screen->depth(), qt_screen->pixelType() ); - m_wid-> setImage ( new QImage ( Resource::loadImage("") ) ); + m_wid-> setLogo ( new QImage ( Resource::loadImage(""))); m_wid->repaint(); } null_display_handler( m_videoOutput, @@ -228,7 +228,5 @@ void Lib::drawFrame( uint8_t* frame, int width, int height, int bytes ) { } // qWarning("called draw frame %d %d", width, height); - m_wid->setImage( frame, width, height, bytes ); -// m_wid->repaint(false); - + m_wid-> setVideoFrame ( frame, width, height, bytes ); } |