author | alwin <alwin> | 2005-04-09 21:37:02 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-04-09 21:37:02 (UTC) |
commit | 274690da3f91a808b77a7b9bf98b6bc09a302fc9 (patch) (side-by-side diff) | |
tree | 7f87991f04a8ad41f2178871f75ba1c2466217c8 | |
parent | af5f26910ae74bd5446db73fd9c870d4aad94f52 (diff) | |
download | opie-274690da3f91a808b77a7b9bf98b6bc09a302fc9.zip opie-274690da3f91a808b77a7b9bf98b6bc09a302fc9.tar.gz opie-274690da3f91a808b77a7b9bf98b6bc09a302fc9.tar.bz2 |
cleanup audio/videooutput the right way
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.cpp b/noncore/multimedia/opieplayer2/lib.cpp index 6ed4cea..9f0d448 100644 --- a/noncore/multimedia/opieplayer2/lib.cpp +++ b/noncore/multimedia/opieplayer2/lib.cpp @@ -153,8 +153,10 @@ Lib::~Lib() { xine_close( m_stream ); xine_event_dispose_queue( m_queue ); xine_dispose( m_stream ); + xine_close_audio_driver(m_xine,m_audioOutput); + xine_close_video_driver(m_xine,m_videoOutput); xine_exit( m_xine ); /* FIXME either free or delete but valgrind bitches against both */ //free( m_videoOutput ); |