Ticket #8182: zmlive-colors.RGB565.patch

File zmlive-colors.RGB565.patch, 1.0 KB (added by Gibby, 13 years ago)

Fixed MP_XXX to MP_RGB565

  • mythzoneminder/mythzoneminder/zmliveplayer.cpp

     
    457457                m_rgba[pos_rgba++] = b;
    458458                m_rgba[pos_rgba++] = 0xff;
    459459            }
     460            else if (m_monitor.palette == MP_RGB565)
     461            {
     462                m_rgba[pos_rgba++] = r;
     463                m_rgba[pos_rgba++] = b;
     464                m_rgba[pos_rgba++] = g;
     465                m_rgba[pos_rgba++] = 0xff;
     466            }
    460467            else
    461468            {
    462469                m_rgba[pos_rgba++] = b;
  • mythzoneminder/mythzoneminder/zmdefines.h

     
    4141enum MonitorPalette
    4242{
    4343    MP_GREY = 1,
     44    MP_RGB565 = 3,
    4445    MP_RGB24 = 4
    4546};
    4647