summaryrefslogtreecommitdiff
authoralwin <alwin>2005-04-09 21:37:02 (UTC)
committer alwin <alwin>2005-04-09 21:37:02 (UTC)
commit274690da3f91a808b77a7b9bf98b6bc09a302fc9 (patch) (unidiff)
tree7f87991f04a8ad41f2178871f75ba1c2466217c8
parentaf5f26910ae74bd5446db73fd9c870d4aad94f52 (diff)
downloadopie-274690da3f91a808b77a7b9bf98b6bc09a302fc9.zip
opie-274690da3f91a808b77a7b9bf98b6bc09a302fc9.tar.gz
opie-274690da3f91a808b77a7b9bf98b6bc09a302fc9.tar.bz2
cleanup audio/videooutput the right way
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/lib.cpp2
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
@@ -151,12 +151,14 @@ Lib::~Lib() {
151 151
152// free( m_config ); 152// free( m_config );
153 153
154 xine_close( m_stream ); 154 xine_close( m_stream );
155 xine_event_dispose_queue( m_queue ); 155 xine_event_dispose_queue( m_queue );
156 xine_dispose( m_stream ); 156 xine_dispose( m_stream );
157 xine_close_audio_driver(m_xine,m_audioOutput);
158 xine_close_video_driver(m_xine,m_videoOutput);
157 xine_exit( m_xine ); 159 xine_exit( m_xine );
158 160
159 /* FIXME either free or delete but valgrind bitches against both */ 161 /* FIXME either free or delete but valgrind bitches against both */
160 //free( m_videoOutput ); 162 //free( m_videoOutput );
161 //delete m_audioOutput; 163 //delete m_audioOutput;
162} 164}