Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Added fix for Ticket 8182 #1

Closed
wants to merge 1 commit into from

1 participant

Gibby
Glidos Glidos referenced this pull request from a commit February 27, 2011
wagnerrp Just testing trac commit hooks...
Fixes #1
105dbdd
Gavin Hurlbut Beirdo referenced this pull request from a commit September 05, 2012
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
Gavin Hurlbut Beirdo referenced this pull request from a commit September 05, 2012
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

Showing 1 unique commit by 1 author.

Dec 05, 2010
added MP_RGB565 to mythzoneminder 5e56b4a
This page is out of date. Refresh to see the latest.
1  mythplugins/mythzoneminder/mythzoneminder/zmdefines.h
@@ -41,6 +41,7 @@ typedef struct
41 41
 enum MonitorPalette
42 42
 {
43 43
     MP_GREY = 1,
  44
+    MP_RGB565 = 3,
44 45
     MP_RGB24 = 4
45 46
 };
46 47
 
7  mythplugins/mythzoneminder/mythzoneminder/zmliveplayer.cpp
@@ -463,6 +463,13 @@ void Player::updateFrame(const unsigned char* buffer)
463 463
                 m_rgba[pos_rgba++] = b;
464 464
                 m_rgba[pos_rgba++] = 0xff;
465 465
             }
  466
+            else if (m_monitor.palette == MP_RGB565)
  467
+            {
  468
+                m_rgba[pos_rgba++] = r; 
  469
+                m_rgba[pos_rgba++] = b;
  470
+                m_rgba[pos_rgba++] = g;
  471
+                m_rgba[pos_rgba++] = 0xff;
  472
+            }
466 473
             else
467 474
             {
468 475
                 m_rgba[pos_rgba++] = b;
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.