[rbp/omxplayer] Fix leak when playing multiple files from playlist
authorpopcornmix <popcornmix@gmail.com>
Sat, 23 Nov 2013 13:41:36 +0000 (13:41 +0000)
committerpopcornmix <popcornmix@gmail.com>
Sat, 23 Nov 2013 15:14:17 +0000 (15:14 +0000)
When omxplayer plays a second file from a playlist (i.e. without being shut down) a clock component gets leaked.
Eventually enough of these leaked components will stop further playback

xbmc/linux/OMXClock.cpp

index ef121d9..ced4f0d 100644 (file)
@@ -141,7 +141,7 @@ void OMXClock::OMXDeinitialize()
   if(m_omx_clock.GetComponent() == NULL)
     return;
 
-  m_omx_clock.Deinitialize();
+  m_omx_clock.Deinitialize(true);
 
   m_omx_speed = DVD_PLAYSPEED_NORMAL;
 }