Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added RGB565 support.

  • Loading branch information...
commit 6e738246038658635b61416b23547a1eee2b0b09 1 parent c903ab8
@elpendor elpendor authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 xbmc/cores/RetroPlayer/RetroPlayerVideo.cpp
View
6 xbmc/cores/RetroPlayer/RetroPlayerVideo.cpp
@@ -189,10 +189,16 @@ bool CRetroPlayerVideo::CheckConfiguration(const DVDVideoPicture &picture)
switch (m_pixelFormat)
{
case RETRO_PIXEL_FORMAT_XRGB8888:
+ CLog::Log(LOGINFO, "RetroPlayerVideo: Pixel Format: XRGB8888");
format = PIX_FMT_ARGB;
break;
+ case RETRO_PIXEL_FORMAT_RGB565:
+ CLog::Log(LOGINFO, "RetroPlayerVideo: Pixel Format: RGB565");
+ format = PIX_FMT_RGB565LE;
+ break;
case RETRO_PIXEL_FORMAT_0RGB1555:
default:
+ CLog::Log(LOGINFO, "RetroPlayerVideo: Pixel Format: RGB565");
format = PIX_FMT_RGB555LE;
break;
}
Please sign in to comment.
Something went wrong with that request. Please try again.