Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.cpp | 8 |
1 files changed, 3 insertions, 5 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, |
@@ -226,9 +226,7 @@ void Lib::drawFrame( uint8_t* frame, int width, int height, int bytes ) { | |||
226 | qWarning("not showing video now"); | 226 | qWarning("not showing video now"); |
227 | return; | 227 | return; |
228 | } | 228 | } |
229 | // qWarning("called draw frame %d %d", width, height); | 229 | // qWarning( "called draw frame %d %d", width, height ); |
230 | |||
231 | m_wid->setImage( frame, width, height, bytes ); | ||
232 | // m_wid->repaint(false); | ||
233 | 230 | ||
231 | m_wid-> setVideoFrame ( frame, width, height, bytes ); | ||
234 | } | 232 | } |