author | sandman <sandman> | 2002-09-24 18:55:16 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-24 18:55:16 (UTC) |
commit | 844325085130e79ec503a0ab5b8eeafa25a7bdb1 (patch) (side-by-side diff) | |
tree | aa1c45bf90036f9a5077f63b478e77069e64b5f1 /noncore/multimedia/opieplayer2/lib.cpp | |
parent | 262dfbf10d031ab8a80948cd1485d747ad2c931b (diff) | |
download | opie-844325085130e79ec503a0ab5b8eeafa25a7bdb1.zip opie-844325085130e79ec503a0ab5b8eeafa25a7bdb1.tar.gz opie-844325085130e79ec503a0ab5b8eeafa25a7bdb1.tar.bz2 |
Documentation for the video magic (for Holger ;)
Small interface changes (better method names)
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 @@ -90,13 +90,13 @@ Lib::Lib(XineVideoWidget* widget) { m_audioOutput= xine_load_audio_output_plugin( m_config, "oss") ; m_videoOutput = ::init_video_out_plugin( m_config, NULL ); if (m_wid != 0 ) { 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, xine_display_frame, this ); @@ -225,10 +225,8 @@ void Lib::drawFrame( uint8_t* frame, int width, int height, int bytes ) { if (!m_video ) { qWarning("not showing video now"); return; } // 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 ); } |