Permalink
Browse files

[rbp] fixed move bcm_host_deinit after omx deinit. treat libbcm_host …

…wrapper as external library. we are already linked against libbcm_host.
  • Loading branch information...
huceke committed Aug 27, 2012
1 parent d9d0e78 commit 6bf5c0e12409a56564deaccb753e1357b32fd897
Showing with 5 additions and 3 deletions.
  1. +3 −1 xbmc/linux/DllBCM.h
  2. +2 −2 xbmc/linux/RBP.cpp
View
@@ -37,6 +37,8 @@ extern "C" {
#include "DynamicDll.h"
#include "utils/log.h"
+#define USE_EXTERNAL_LIBBCM_HOST 1
+
////////////////////////////////////////////////////////////////////////////////////////////
class DllBcmHostInterface
@@ -80,7 +82,7 @@ class DllBcmHostInterface
EDID_AudioSampleRate fs, uint32_t bitrate) = 0;
};
-#if (defined USE_EXTERNAL_LIBBCM_HOST)
+#if defined(USE_EXTERNAL_LIBBCM_HOST)
class DllBcmHost : public DllDynamic, DllBcmHostInterface
{
public:
View
@@ -63,11 +63,11 @@ void CRBP::LogFirmwareVerison()
void CRBP::Deinitialize()
{
- m_DllBcmHost->bcm_host_deinit();
-
if(m_omx_initialized)
m_OMX->Deinitialize();
+ m_DllBcmHost->bcm_host_deinit();
+
if(m_initialized)
m_DllBcmHost->Unload();

0 comments on commit 6bf5c0e

Please sign in to comment.