Fix bug: need signed char, if compiler has unsigned chars.

This commit is contained in:
Johns 2015-03-10 10:20:53 +01:00
parent ca0181b1b1
commit 915dff8714
5 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
User johns User johns
Date: Date:
Fix bug: need signed char, if compiler has unsigned chars.
Try smaller audio puffer, if default size fails. Try smaller audio puffer, if default size fails.
Fix bug: center cut-out didn't use cut off pixels. Fix bug: center cut-out didn't use cut off pixels.
Fix bug #2058: support for Make.plgcfg. Fix bug #2058: support for Make.plgcfg.

View File

@ -89,7 +89,7 @@ static char VdpauDecoder = 1; ///< vdpau decoder used
extern int ConfigAudioBufferTime; ///< config size ms of audio buffer extern int ConfigAudioBufferTime; ///< config size ms of audio buffer
extern int ConfigVideoClearOnSwitch; //< clear decoder on channel switch extern int ConfigVideoClearOnSwitch; //< clear decoder on channel switch
char ConfigStartX11Server; ///< flag start the x11 server 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 char ConfigFullscreen; ///< fullscreen modus
static const char *X11ServerArguments; ///< default command arguments static const char *X11ServerArguments; ///< default command arguments
static char ConfigStillDecoder; ///< hw/sw decoder for still picture static char ConfigStillDecoder; ///< hw/sw decoder for still picture

View File

@ -171,7 +171,7 @@ static volatile int DoMakePrimary; ///< switch primary device to this
#define NOT_SUSPENDED 0 ///< not suspend mode #define NOT_SUSPENDED 0 ///< not suspend mode
#define SUSPEND_NORMAL 1 ///< normal suspend mode #define SUSPEND_NORMAL 1 ///< normal suspend mode
#define SUSPEND_DETACHED 2 ///< detached suspend mode #define SUSPEND_DETACHED 2 ///< detached suspend mode
static char SuspendMode; ///< suspend mode static signed char SuspendMode; ///< suspend mode
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////

View File

@ -332,7 +332,7 @@ static const VideoModule NoopModule; ///< forward definition of noop module
/// selected video module /// selected video module
static const VideoModule *VideoUsedModule = &NoopModule; 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 static char VideoSurfaceModesChanged; ///< flag surface modes changed

View File

@ -37,7 +37,7 @@ typedef struct __video_stream__ VideoStream;
// Variables // Variables
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
extern char VideoHardwareDecoder; ///< flag use hardware decoder extern signed char VideoHardwareDecoder; ///< flag use hardware decoder
extern char VideoIgnoreRepeatPict; ///< disable repeat pict warning extern char VideoIgnoreRepeatPict; ///< disable repeat pict warning
extern int VideoAudioDelay; ///< audio/video delay extern int VideoAudioDelay; ///< audio/video delay
extern char ConfigStartX11Server; ///< flag start the x11 server extern char ConfigStartX11Server; ///< flag start the x11 server