Skip to content
Browse files

[rbp] changed be consistent with Texture.cpp in enable the omx jpeg d…

  • Loading branch information...
1 parent 30fe959 commit f5845bc4ce10cab3116e77cf188f84af6020e008 @huceke committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/pictures/Picture.cpp
4 xbmc/pictures/Picture.cpp
@@ -35,7 +35,7 @@
#include "DllSwScale.h"
#include "guilib/JpegIO.h"
#include "guilib/Texture.h"
-#if defined(HAVE_OMXLIB)
#include "cores/omxplayer/OMXImage.h"
@@ -46,7 +46,7 @@ bool CPicture::CreateThumbnailFromSurface(const unsigned char *buffer, int width
CLog::Log(LOGDEBUG, "cached image '%s' size %dx%d", thumbFile.c_str(), width, height);
if (URIUtils::GetExtension(thumbFile).Equals(".jpg") || URIUtils::GetExtension(thumbFile).Equals(".tbn"))
-#if defined(HAVE_OMXLIB)
COMXImage omxImage;
if (omxImage.CreateThumbnailFromSurface((BYTE *)buffer, width, height, XB_FMT_A8R8G8B8, stride, thumbFile.c_str()))
return true;

0 comments on commit f5845bc

Please sign in to comment.
Something went wrong with that request. Please try again.