Ticket #8182: zmliveplayer_colors.patch

File zmliveplayer_colors.patch, 451 bytes (added by dluzin@…, 10 years ago)

fixes zoneminder liveview color issue

  • zmliveplayer.cpp

     
    450450            r = buffer[pos_data++];
    451451            g = buffer[pos_data++];
    452452            b = buffer[pos_data++];
    453             m_rgba[pos_rgba++] = b;
    454453            m_rgba[pos_rgba++] = g;
    455454            m_rgba[pos_rgba++] = r;
     455            m_rgba[pos_rgba++] = b;
    456456            m_rgba[pos_rgba++] = 0xff;
    457457        }
    458458    }