diff options
author | Johns <johns98@gmx.net> | 2015-03-10 10:20:53 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2015-03-10 10:20:53 +0100 |
commit | 915dff8714f10732b2e23cf43f0fc2860ac5cb1d (patch) | |
tree | daf944f875973674e92cb955746511df5c0e04e8 | |
parent | ca0181b1b12af971a892418f8c6ac3ec90bb97a0 (diff) | |
download | vdr-plugin-softhddevice-915dff8714f10732b2e23cf43f0fc2860ac5cb1d.tar.gz vdr-plugin-softhddevice-915dff8714f10732b2e23cf43f0fc2860ac5cb1d.tar.bz2 |
Fix bug: need signed char, if compiler has unsigned chars.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | softhddev.c | 2 | ||||
-rw-r--r-- | softhddevice.cpp | 2 | ||||
-rw-r--r-- | video.c | 2 | ||||
-rw-r--r-- | video.h | 2 |
5 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,7 @@ User johns Date: + Fix bug: need signed char, if compiler has unsigned chars. Try smaller audio puffer, if default size fails. Fix bug: center cut-out didn't use cut off pixels. Fix bug #2058: support for Make.plgcfg. diff --git a/softhddev.c b/softhddev.c index 79c5e31..5afe3b5 100644 --- a/softhddev.c +++ b/softhddev.c @@ -89,7 +89,7 @@ static char VdpauDecoder = 1; ///< vdpau decoder used extern int ConfigAudioBufferTime; ///< config size ms of audio buffer extern int ConfigVideoClearOnSwitch; //< clear decoder on channel switch char ConfigStartX11Server; ///< flag start the x11 server -static char ConfigStartSuspended; ///< flag to start in suspend mode +static signed char ConfigStartSuspended; ///< flag to start in suspend mode static char ConfigFullscreen; ///< fullscreen modus static const char *X11ServerArguments; ///< default command arguments static char ConfigStillDecoder; ///< hw/sw decoder for still picture diff --git a/softhddevice.cpp b/softhddevice.cpp index 310855b..e933955 100644 --- a/softhddevice.cpp +++ b/softhddevice.cpp @@ -171,7 +171,7 @@ static volatile int DoMakePrimary; ///< switch primary device to this #define NOT_SUSPENDED 0 ///< not suspend mode #define SUSPEND_NORMAL 1 ///< normal suspend mode #define SUSPEND_DETACHED 2 ///< detached suspend mode -static char SuspendMode; ///< suspend mode +static signed char SuspendMode; ///< suspend mode ////////////////////////////////////////////////////////////////////////////// @@ -332,7 +332,7 @@ static const VideoModule NoopModule; ///< forward definition of noop module /// selected video module static const VideoModule *VideoUsedModule = &NoopModule; -char VideoHardwareDecoder = -1; ///< flag use hardware decoder +signed char VideoHardwareDecoder = -1; ///< flag use hardware decoder static char VideoSurfaceModesChanged; ///< flag surface modes changed @@ -37,7 +37,7 @@ typedef struct __video_stream__ VideoStream; // Variables //---------------------------------------------------------------------------- -extern char VideoHardwareDecoder; ///< flag use hardware decoder +extern signed char VideoHardwareDecoder; ///< flag use hardware decoder extern char VideoIgnoreRepeatPict; ///< disable repeat pict warning extern int VideoAudioDelay; ///< audio/video delay extern char ConfigStartX11Server; ///< flag start the x11 server |