summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2
authorsimon <simon>2002-12-08 20:27:19 (UTC)
committer simon <simon>2002-12-08 20:27:19 (UTC)
commitec91b042d8312f83027beb357448fe02a13e8923 (patch) (unidiff)
treec61b89e7fc7f22bb1dfaa19f2597c5bdae903572 /noncore/multimedia/opieplayer2
parentce313e53a56591fd883348f5e265606865fdcb50 (diff)
downloadopie-ec91b042d8312f83027beb357448fe02a13e8923.zip
opie-ec91b042d8312f83027beb357448fe02a13e8923.tar.gz
opie-ec91b042d8312f83027beb357448fe02a13e8923.tar.bz2
- properly shut down xine in the destructor. fixes crashes when switching
skins
Diffstat (limited to 'noncore/multimedia/opieplayer2') (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/lib.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.cpp b/noncore/multimedia/opieplayer2/lib.cpp
index 4a96408..1b5fd51 100644
--- a/noncore/multimedia/opieplayer2/lib.cpp
+++ b/noncore/multimedia/opieplayer2/lib.cpp
@@ -120,6 +120,13 @@ Lib::Lib( XineVideoWidget* widget ) {
120 120
121Lib::~Lib() { 121Lib::~Lib() {
122// free( m_config ); 122// free( m_config );
123
124 xine_close( m_stream );
125
126 xine_event_dispose_queue( m_queue );
127
128 xine_dispose( m_stream );
129
123 xine_exit( m_xine ); 130 xine_exit( m_xine );
124 /* FIXME either free or delete but valgrind bitches against both */ 131 /* FIXME either free or delete but valgrind bitches against both */
125 //free( m_videoOutput ); 132 //free( m_videoOutput );