1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

chore(config): change LV_FFMPEG_AV_DUMP_FORMAT to LV_FFMPEG_DUMP_FORMAT (#3199)

ensure all ffmpeg special config start with the prefix(LV_FFMPEG_)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-03-25 05:13:06 +08:00 committed by GitHub
parent 8ddbae1f35
commit 7d968bda8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -969,8 +969,8 @@ menu "LVGL configuration"
config LV_USE_FFMPEG
bool "FFmpeg library"
config LV_FFMPEG_AV_DUMP_FORMAT
bool "Dump av format"
config LV_FFMPEG_DUMP_FORMAT
bool "Dump format"
depends on LV_USE_FFMPEG
default n
endmenu

View File

@ -644,7 +644,7 @@
#define LV_USE_FFMPEG 0
#if LV_USE_FFMPEG
/*Dump input information to stderr*/
#define LV_FFMPEG_AV_DUMP_FORMAT 0
#define LV_FFMPEG_DUMP_FORMAT 0
#endif
/*-----------

View File

@ -2118,11 +2118,11 @@
#endif
#if LV_USE_FFMPEG
/*Dump input information to stderr*/
#ifndef LV_FFMPEG_AV_DUMP_FORMAT
#ifdef CONFIG_LV_FFMPEG_AV_DUMP_FORMAT
#define LV_FFMPEG_AV_DUMP_FORMAT CONFIG_LV_FFMPEG_AV_DUMP_FORMAT
#ifndef LV_FFMPEG_DUMP_FORMAT
#ifdef CONFIG_LV_FFMPEG_DUMP_FORMAT
#define LV_FFMPEG_DUMP_FORMAT CONFIG_LV_FFMPEG_DUMP_FORMAT
#else
#define LV_FFMPEG_AV_DUMP_FORMAT 0
#define LV_FFMPEG_DUMP_FORMAT 0
#endif
#endif
#endif