mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 02:40:14 +00:00
Various fixes
This commit is contained in:
@@ -77,7 +77,7 @@ void log_msg(int level, const char *format, ...)
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef WIN32
|
||||
#if 0 // WIN32
|
||||
if (log_level == LOG_LEVEL_DEBUG) {
|
||||
char msg[65535];
|
||||
va_list ap;
|
||||
|
||||
@@ -32,7 +32,7 @@ char *export_dir = NULL;
|
||||
volatile bool should_exit_receiver = false;
|
||||
|
||||
volatile int log_level = LOG_LEVEL_INFO;
|
||||
bool color_term = (strcmp(getenv("TERM"), "xterm") == 0 || strcmp(getenv("TERM"), "xterm-256color") == 0) && isatty(1) && isatty(2);
|
||||
bool color_term = (getenv("TERM") && (strcmp(getenv("TERM"), "xterm") == 0 || strcmp(getenv("TERM"), "xterm-256color") == 0 || strcmp(getenv("TERM"), "screen") == 0)) && isatty(1) && isatty(2);
|
||||
|
||||
bool ldgm_device_gpu = false;
|
||||
|
||||
|
||||
@@ -80,7 +80,6 @@ codec_t get_codec_from_name(const char *name) __attribute__((pure));
|
||||
const char *get_codec_file_extension(codec_t codec) __attribute__((pure));
|
||||
decoder_t get_decoder_from_to(codec_t in, codec_t out, bool slow) __attribute__((pure));
|
||||
|
||||
uint32_t get_fcc_from_codec(codec_t codec) __attribute__((pure));
|
||||
int get_aligned_length(int width, codec_t codec) __attribute__((pure));
|
||||
int get_pf_block_size(codec_t codec) __attribute__((pure));
|
||||
int vc_get_linesize(unsigned int width, codec_t codec) __attribute__((pure));
|
||||
|
||||
Reference in New Issue
Block a user