Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[rbp] changed allow tbn files in pictures as omx image

  • Loading branch information...
commit ea1a32964b2270a04ea8d4e4c6332ac54d59e89a 1 parent 365953f
@huceke huceke authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/pictures/Picture.cpp
View
2  xbmc/pictures/Picture.cpp
@@ -44,7 +44,7 @@ using namespace XFILE;
bool CPicture::CreateThumbnailFromSurface(const unsigned char *buffer, int width, int height, int stride, const CStdString &thumbFile)
{
CLog::Log(LOGDEBUG, "cached image '%s' size %dx%d", thumbFile.c_str(), width, height);
- if (URIUtils::GetExtension(thumbFile).Equals(".jpg"))
+ if (URIUtils::GetExtension(thumbFile).Equals(".jpg") || URIUtils::GetExtension(thumbFile).Equals(".tbn"))
{
#if defined(HAVE_OMXLIB)
COMXImage omxImage;
Please sign in to comment.
Something went wrong with that request. Please try again.