author | simon <simon> | 2002-12-13 22:52:38 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-13 22:52:38 (UTC) |
commit | 7a5b1d2dd538ee6d401e795057660f58e9a60eab (patch) (side-by-side diff) | |
tree | 612483f02744b6b7f85ee4552c9227f2918293ef | |
parent | 15b3146ee488a3f31f355ece580f444c48bfc7e9 (diff) | |
download | opie-7a5b1d2dd538ee6d401e795057660f58e9a60eab.zip opie-7a5b1d2dd538ee6d401e795057660f58e9a60eab.tar.gz opie-7a5b1d2dd538ee6d401e795057660f58e9a60eab.tar.bz2 |
- oops #1
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.cpp b/noncore/multimedia/opieplayer2/lib.cpp index 9d4b1be..040eab3 100644 --- a/noncore/multimedia/opieplayer2/lib.cpp +++ b/noncore/multimedia/opieplayer2/lib.cpp @@ -116,49 +116,49 @@ void Lib::initialize() m_videoOutput = ::init_video_out_plugin( m_xine, NULL, xine_display_frame, this ); //xine_open_video_driver( m_xine, NULL, XINE_VISUAL_TYPE_FB, NULL); // null_display_handler( m_videoOutput, xine_display_frame, this ); m_stream = xine_stream_new (m_xine, m_audioOutput, m_videoOutput ); if (m_wid != 0 ) { printf( "!0\n" ); resize ( m_wid-> size ( ) ); ::null_set_mode( m_videoOutput, qt_screen->depth(), qt_screen->pixelType() ); // m_wid->repaint(); } m_queue = xine_event_new_queue (m_stream); xine_event_create_listener_thread (m_queue, xine_event_handler, this); } Lib::~Lib() { - assert( isRunning() == false ) + assert( isRunning() == false ); assert( m_initialized ); // free( m_config ); xine_close( m_stream ); xine_event_dispose_queue( m_queue ); xine_dispose( m_stream ); xine_exit( m_xine ); /* FIXME either free or delete but valgrind bitches against both */ //free( m_videoOutput ); //delete m_audioOutput; } void Lib::resize ( const QSize &s ) { assert( m_initialized ); if ( s. width ( ) && s. height ( ) ) { ::null_set_gui_width( m_videoOutput, s. width() ); ::null_set_gui_height( m_videoOutput, s. height() ); } } |