Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added fix for Ticket 8182 #1

Closed
wants to merge 1 commit into from

1 participant

@Glidos Glidos referenced this pull request from a commit
@wagnerrp wagnerrp Just testing trac commit hooks...
Fixes #1
105dbdd
@Beirdo Beirdo referenced this pull request from a commit
@wagnerrp wagnerrp Fix copy/paste error in mythutils jobutils.
This fixes an error in the job creation options that causes all user
jobs to be created as user job #1, rather than the type actually
selected.
(cherry picked from commit 6d5e27b)
0088dd7
@Beirdo Beirdo referenced this pull request from a commit
@wagnerrp wagnerrp Fix copy/paste error in mythutils jobutils.
This fixes an error in the job creation options that causes all user
jobs to be created as user job #1, rather than the type actually
selected.
6d5e27b
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 5, 2010
  1. added MP_RGB565 to mythzoneminder

    Gibby authored
This page is out of date. Refresh to see the latest.
View
1  mythplugins/mythzoneminder/mythzoneminder/zmdefines.h
@@ -41,6 +41,7 @@ typedef struct
enum MonitorPalette
{
MP_GREY = 1,
+ MP_RGB565 = 3,
MP_RGB24 = 4
};
View
7 mythplugins/mythzoneminder/mythzoneminder/zmliveplayer.cpp
@@ -463,6 +463,13 @@ void Player::updateFrame(const unsigned char* buffer)
m_rgba[pos_rgba++] = b;
m_rgba[pos_rgba++] = 0xff;
}
+ else if (m_monitor.palette == MP_RGB565)
+ {
+ m_rgba[pos_rgba++] = r;
+ m_rgba[pos_rgba++] = b;
+ m_rgba[pos_rgba++] = g;
+ m_rgba[pos_rgba++] = 0xff;
+ }
else
{
m_rgba[pos_rgba++] = b;
Something went wrong with that request. Please try again.