mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libeplayer3/container_ffmpeg: only log ffmpeg errors at debug_level > 10
This commit is contained in:
@@ -821,7 +821,8 @@ static int interrupt_cb(void *ctx)
|
|||||||
|
|
||||||
static void log_callback(void *ptr __attribute__ ((unused)), int lvl __attribute__ ((unused)), const char *format, va_list ap)
|
static void log_callback(void *ptr __attribute__ ((unused)), int lvl __attribute__ ((unused)), const char *format, va_list ap)
|
||||||
{
|
{
|
||||||
vfprintf(stderr, format, ap);
|
if (debug_level > 10)
|
||||||
|
vfprintf(stderr, format, ap);
|
||||||
}
|
}
|
||||||
|
|
||||||
int container_ffmpeg_init(Context_t * context, char *filename)
|
int container_ffmpeg_init(Context_t * context, char *filename)
|
||||||
|
Reference in New Issue
Block a user