diff options
author | Søren Juul <zpon.dk@gmail.com> | 2015-10-31 15:08:08 +0100 |
---|---|---|
committer | Søren Juul <zpon.dk@gmail.com> | 2015-10-31 15:08:08 +0100 |
commit | 3f015da9fb6c09eddce6ca1c902db7e99d136d46 (patch) | |
tree | 43b99086a9bc72e208bb8da84ba0873d0a02ab61 | |
parent | a92c98d3a87b1da0778e979c3fe5092b02a5d6ff (diff) |
Fix regressions introduced by refactoring in commit 9e9396b073ba973b2847896a11244a9f37ecbaff
-rw-r--r-- | xbmc/cores/dvdplayer/DVDCodecs/Video/OpenMaxVideo.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/OpenMaxVideo.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/OpenMaxVideo.cpp index 87e90ba436..87d97afd8f 100644 --- a/xbmc/cores/dvdplayer/DVDCodecs/Video/OpenMaxVideo.cpp +++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/OpenMaxVideo.cpp @@ -751,10 +751,7 @@ OMX_ERRORTYPE COpenMaxVideo::AllocOMXOutputBuffers(void) callbackData.callback = &CallbackAllocOMXEGLTextures; callbackData.userptr = (void *)this; - tMsg.dwMessage = TMSG_CALLBACK; - tMsg.lpVoid = (void*)&callbackData; - - CApplicationMessenger::GetInstance().SendMsg(TMSG_CALLBACK, -1, -1 static_cast<void*>(&callbackData)); + CApplicationMessenger::GetInstance().SendMsg(TMSG_CALLBACK, -1, -1, static_cast<void*>(&callbackData)); omx_err = OMX_ErrorNone; } @@ -1227,7 +1224,7 @@ void OpenMaxVideoBuffer::ReleaseTexture() deleteInfo->callback.userptr = (void *)deleteInfo; // HACK, this should be synchronous, but it's not possible since Stop blocks the GUI thread. - CApplicationMessenger::GetInstance().PostMsg(TMSG_CALLBACK, -1, -1 static_cast<void*>(deleteInfo)); + CApplicationMessenger::GetInstance().PostMsg(TMSG_CALLBACK, -1, -1, static_cast<void*>(deleteInfo)); } } |