mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 07:22:44 +02:00
libarm use ffmpeg log
Origin commit data
------------------
Branch: master
Commit: 9783c35b9d
Author: Frankenstone <dampf_acc@online.de>
Date: 2019-03-04 (Mon, 04 Mar 2019)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -223,7 +223,7 @@ static int32_t flv2mpeg4_converter = 0;
|
|||||||
/* MISC Functions */
|
/* MISC Functions */
|
||||||
/* ***************************** */
|
/* ***************************** */
|
||||||
|
|
||||||
static void ffmpeg_silen_callback(void *avcl __attribute__((unused)), int level __attribute__((unused)), const char *fmt __attribute__((unused)), va_list vl __attribute__((unused)))
|
static void __attribute__ ((unused)) ffmpeg_silen_callback(void *avcl __attribute__((unused)), int level __attribute__((unused)), const char *fmt __attribute__((unused)), va_list vl __attribute__((unused)))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -1915,9 +1915,12 @@ int32_t container_ffmpeg_init(Context_t *context, PlayFiles_t *playFilesNames)
|
|||||||
avformat_network_init();
|
avformat_network_init();
|
||||||
|
|
||||||
#if FFMPEG_DEBUG_LEVEL >= 10
|
#if FFMPEG_DEBUG_LEVEL >= 10
|
||||||
|
av_log_set_flags(AV_LOG_SKIP_REPEATED);
|
||||||
av_log_set_level(AV_LOG_DEBUG);
|
av_log_set_level(AV_LOG_DEBUG);
|
||||||
#else
|
#else
|
||||||
av_log_set_callback(ffmpeg_silen_callback);
|
av_log_set_flags(AV_LOG_SKIP_REPEATED);
|
||||||
|
av_log_set_level(AV_LOG_INFO);
|
||||||
|
//av_log_set_callback(ffmpeg_silen_callback);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
context->playback->abortRequested = 0;
|
context->playback->abortRequested = 0;
|
||||||
|
Reference in New Issue
Block a user