mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
libeplayer3: deactivate debugging
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
#ifdef CONTAINER_DEBUG
|
||||
|
||||
static short debug_level = 10;
|
||||
static short debug_level = 0;
|
||||
|
||||
#define container_printf(level, x...) do { \
|
||||
if (debug_level >= level) printf(x); } while (0)
|
||||
|
@@ -54,9 +54,9 @@
|
||||
#define ASS_DEBUG
|
||||
|
||||
#ifdef ASS_DEBUG
|
||||
|
||||
static const char *FILENAME = "container_ass.c";
|
||||
static short debug_level = 10;
|
||||
|
||||
static short debug_level = 0;
|
||||
|
||||
#define ass_printf(level, fmt, x...) do { \
|
||||
if (debug_level >= level) printf("[%s:%s] " fmt, FILENAME, __FUNCTION__, ## x); } while (0)
|
||||
|
@@ -64,7 +64,7 @@
|
||||
|
||||
#ifdef FFMPEG_DEBUG
|
||||
|
||||
static short debug_level = 10;
|
||||
static short debug_level = 0;
|
||||
|
||||
#define ffmpeg_printf(level, fmt, x...) do { \
|
||||
if (debug_level >= level) printf("[%s:%s] " fmt, FILENAME, __FUNCTION__, ## x); } while (0)
|
||||
|
@@ -47,7 +47,7 @@
|
||||
|
||||
#ifdef SRT_DEBUG
|
||||
|
||||
static short debug_level = 10;
|
||||
static short debug_level = 0;
|
||||
|
||||
#define srt_printf(level, fmt, x...) do { \
|
||||
if (debug_level >= level) printf("[%s:%s] " fmt, FILENAME, __FUNCTION__, ## x); } while (0)
|
||||
|
@@ -47,7 +47,7 @@
|
||||
|
||||
#ifdef SSA_DEBUG
|
||||
|
||||
static short debug_level = 10;
|
||||
static short debug_level = 0;
|
||||
|
||||
#define ssa_printf(level, fmt, x...) do { \
|
||||
if (debug_level >= level) printf("[%s:%s] " fmt, FILENAME, __FUNCTION__, ## x); } while (0)
|
||||
|
@@ -36,7 +36,7 @@
|
||||
|
||||
#ifdef SUBTITLE_MGR_DEBUG
|
||||
|
||||
static short debug_level = 10;
|
||||
static short debug_level = 0;
|
||||
|
||||
#define subtitle_mgr_printf(level, x...) do { \
|
||||
if (debug_level >= level) printf(x); } while (0)
|
||||
|
@@ -49,7 +49,7 @@
|
||||
|
||||
#define LINUXDVB_DEBUG
|
||||
|
||||
static short debug_level = 10;
|
||||
static short debug_level = 0;
|
||||
|
||||
static const char FILENAME[] = "linuxdvb.c";
|
||||
|
||||
|
@@ -51,7 +51,7 @@
|
||||
|
||||
#define PIPE_DEBUG
|
||||
|
||||
static short debug_level = 10;
|
||||
static short debug_level = 0;
|
||||
|
||||
static const char FILENAME[] = __FILE__;
|
||||
|
||||
|
@@ -46,7 +46,7 @@
|
||||
|
||||
#ifdef SUBTITLE_DEBUG
|
||||
|
||||
static short debug_level = 10;
|
||||
static short debug_level = 0;
|
||||
|
||||
#define subtitle_printf(level, fmt, x...) do { \
|
||||
if (debug_level >= level) printf("[%s:%s] " fmt, FILENAME, __FUNCTION__, ## x); } while (0)
|
||||
|
@@ -53,10 +53,10 @@
|
||||
#define FLAC_DEBUG
|
||||
|
||||
#ifdef FLAC_DEBUG
|
||||
|
||||
static short debug_level = 1;
|
||||
static const char *FILENAME = "flac.c";
|
||||
|
||||
static short debug_level = 0;
|
||||
|
||||
#define flac_printf(level, fmt, x...) do { \
|
||||
if (debug_level >= level) printf("[%s:%s] " fmt, FILENAME, __FUNCTION__, ## x); } while (0)
|
||||
#else
|
||||
|
@@ -52,10 +52,10 @@
|
||||
#define FB_DEBUG
|
||||
|
||||
#ifdef FB_DEBUG
|
||||
|
||||
static short debug_level = 10;
|
||||
static const char *FILENAME = "framebuffer.c";
|
||||
|
||||
static short debug_level = 0;
|
||||
|
||||
#define fb_printf(level, fmt, x...) do { \
|
||||
if (debug_level >= level) printf("[%s:%s] " fmt, FILENAME, __FUNCTION__, ## x); } while (0)
|
||||
#else
|
||||
|
@@ -53,10 +53,10 @@
|
||||
#define PCM_DEBUG
|
||||
|
||||
#ifdef PCM_DEBUG
|
||||
|
||||
static short debug_level = 1;
|
||||
static const char *FILENAME = "pcm.c";
|
||||
|
||||
static short debug_level = 0;
|
||||
|
||||
#define pcm_printf(level, fmt, x...) do { \
|
||||
if (debug_level >= level) printf("[%s:%s] " fmt, FILENAME, __FUNCTION__, ## x); } while (0)
|
||||
#else
|
||||
|
@@ -65,10 +65,10 @@
|
||||
#define VC1_DEBUG
|
||||
|
||||
#ifdef VC1_DEBUG
|
||||
|
||||
static short debug_level = 10;
|
||||
static const char *FILENAME = "vc1.c";
|
||||
|
||||
static short debug_level = 0;
|
||||
|
||||
#define vc1_printf(level, fmt, x...) do { \
|
||||
if (debug_level >= level) printf("[%s:%s] " fmt, FILENAME, __FUNCTION__, ## x); } while (0)
|
||||
#else
|
||||
|
@@ -53,10 +53,10 @@
|
||||
#define VORBIS_DEBUG
|
||||
|
||||
#ifdef VORBIS_DEBUG
|
||||
|
||||
static short debug_level = 1;
|
||||
static const char *FILENAME = "vorbis.c";
|
||||
|
||||
static short debug_level = 0;
|
||||
|
||||
#define vorbis_printf(level, fmt, x...) do { \
|
||||
if (debug_level >= level) printf("[%s:%s] " fmt, FILENAME, __FUNCTION__, ## x); } while (0)
|
||||
#else
|
||||
|
@@ -54,10 +54,10 @@
|
||||
#define WMA_DEBUG
|
||||
|
||||
#ifdef WMA_DEBUG
|
||||
|
||||
static short debug_level = 10;
|
||||
static const char *FILENAME = "wma.c";
|
||||
|
||||
static short debug_level = 0;
|
||||
|
||||
#define wma_printf(level, fmt, x...) do { \
|
||||
if (debug_level >= level) printf("[%s:%s] " fmt, FILENAME, __FUNCTION__, ## x); } while (0)
|
||||
#else
|
||||
|
@@ -61,10 +61,10 @@
|
||||
#define WMV_DEBUG
|
||||
|
||||
#ifdef WMV_DEBUG
|
||||
|
||||
static short debug_level = 10;
|
||||
static const char *FILENAME = "wmv.c";
|
||||
|
||||
static short debug_level = 0;
|
||||
|
||||
#define wmv_printf(level, fmt, x...) do { \
|
||||
if (debug_level >= level) printf("[%s:%s] " fmt, FILENAME, __FUNCTION__, ## x); } while (0)
|
||||
#else
|
||||
|
@@ -29,7 +29,7 @@
|
||||
|
||||
#define PLAYBACK_DEBUG
|
||||
|
||||
static short debug_level = 10;
|
||||
static short debug_level = 0;
|
||||
|
||||
static const char *FILENAME = "playback.c";
|
||||
#ifdef PLAYBACK_DEBUG
|
||||
|
Reference in New Issue
Block a user