summaryrefslogtreecommitdiff
path: root/dvbosd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2002-04-21 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2002-04-21 18:00:00 +0200
commitcfac68ee8458c6b51e638dd787d931bd5baad57a (patch)
tree20e5840f818a567a675b099272f42e6c7d51d751 /dvbosd.c
parentc9a5d8ea5328e4a8bcb0c3423b825c02cb0c3b27 (diff)
downloadvdr-patch-lnbsharing-cfac68ee8458c6b51e638dd787d931bd5baad57a.tar.gz
vdr-patch-lnbsharing-cfac68ee8458c6b51e638dd787d931bd5baad57a.tar.bz2
Version 1.0.1vdr-1.0.1
- Added some DVB-T channels for Berlin (Germany) to channels.conf.terr (thanks to Andreas Roedl). - Implemented enhanced string editing with upper-/lowercase, insert/overwrite and delete (thanks to Sergei Haller). - Fixed color palette handling on "big endian" systems (thanks to Jean Martin for pointing out this one). - Updated the "Blue Movie" channels to the new "Premiere Erotik" (thanks to Thilo Wunderlich). NOTE: this adds a new channel to 'channels.conf', so that any timers referencing a channel with a number higher than 102 should be checked and adapted if necessary (this only applies if you are using the default 'channels.conf'). - Improved thread locking in the ring buffer to avoid possible race conditions under heavy load (thanks to Werner Fink). - Fixed a crash when selecting the "Jump" function directly after setting an editing mark (thanks to Steffen Koch for reporting and Stefan Huelswitt for fixing this one). - Fixed some missing ',' in i18n.c (thanks to Matthias Hilbig). - Fixed a possible endless loop in shifting recordings between DVB cards (thanks to Stefan Huelswitt for reporting this one). - Updated the Premiere World Formula 1 channels in 'channels.conf' (thanks to Mel Schächner). - No longer setting PIDs 0x1FFF, which apparently fixes problems with CAMs and AC3 sound only working the first time (thanks to Stefan Huelswitt). - Now encoding '.' at the end of a directory name in case of VFAT=1, since Windows can't handle these (thanks to Simon Dean for reporting this one).
Diffstat (limited to 'dvbosd.c')
-rw-r--r--dvbosd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dvbosd.c b/dvbosd.c
index c348430..eb96261 100644
--- a/dvbosd.c
+++ b/dvbosd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbosd.c 1.12 2002/01/13 16:25:18 kls Exp $
+ * $Id: dvbosd.c 1.13 2002/04/13 11:34:48 kls Exp $
*/
#include "dvbosd.h"
@@ -25,6 +25,9 @@ cPalette::cPalette(int Bpp)
int cPalette::Index(eDvbColor Color)
{
+#if __BYTE_ORDER == __BIG_ENDIAN
+ Color = eDvbColor(((Color & 0xFF) << 24) | ((Color & 0xFF00) << 8) | ((Color & 0xFF0000) >> 8) | ((Color & 0xFF000000) >> 24));
+#endif
for (int i = 0; i < numColors; i++) {
if (color[i] == Color) {
used[i] = true;