mirror of
https://github.com/mpv-player/mpv
synced 2024-12-13 18:36:09 +00:00
sane verbosity levels for menu initialization
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29231 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ca205c9d8f
commit
d0f79295a9
@ -2827,16 +2827,16 @@ stream_set_interrupt_callback(mp_input_check_interrupt);
|
|||||||
#ifdef CONFIG_MENU
|
#ifdef CONFIG_MENU
|
||||||
if(use_menu) {
|
if(use_menu) {
|
||||||
if(menu_cfg && menu_init(mpctx, menu_cfg))
|
if(menu_cfg && menu_init(mpctx, menu_cfg))
|
||||||
mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_MenuInitialized, menu_cfg);
|
mp_msg(MSGT_CPLAYER, MSGL_V, MSGTR_MenuInitialized, menu_cfg);
|
||||||
else {
|
else {
|
||||||
menu_cfg = get_path("menu.conf");
|
menu_cfg = get_path("menu.conf");
|
||||||
if(menu_init(mpctx, menu_cfg))
|
if(menu_init(mpctx, menu_cfg))
|
||||||
mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_MenuInitialized, menu_cfg);
|
mp_msg(MSGT_CPLAYER, MSGL_V, MSGTR_MenuInitialized, menu_cfg);
|
||||||
else {
|
else {
|
||||||
if(menu_init(mpctx, MPLAYER_CONFDIR "/menu.conf"))
|
if(menu_init(mpctx, MPLAYER_CONFDIR "/menu.conf"))
|
||||||
mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_MenuInitialized, MPLAYER_CONFDIR"/menu.conf");
|
mp_msg(MSGT_CPLAYER, MSGL_V, MSGTR_MenuInitialized, MPLAYER_CONFDIR"/menu.conf");
|
||||||
else {
|
else {
|
||||||
mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_MenuInitFailed);
|
mp_msg(MSGT_CPLAYER, MSGL_ERR, MSGTR_MenuInitFailed);
|
||||||
use_menu = 0;
|
use_menu = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user