src/3rdparty/phonon/mmf/mediaobject.cpp
changeset 33 3e2da88830cd
parent 22 79de32ba3296
child 37 758a864f9613
--- a/src/3rdparty/phonon/mmf/mediaobject.cpp	Tue Jul 06 15:10:48 2010 +0300
+++ b/src/3rdparty/phonon/mmf/mediaobject.cpp	Wed Aug 18 10:37:55 2010 +0300
@@ -281,6 +281,9 @@
         break;
     }
 
+    if (oldPlayer)
+        oldPlayer->close();
+
     AbstractPlayer* newPlayer = 0;
 
     // Construct newPlayer using oldPlayer (if not 0) in order to copy