Mercurial > mplayer.hg
comparison mplayer.c @ 29189:a7bb794af98d
sane verbosity levels for menu initialization
author | diego |
---|---|
date | Sat, 25 Apr 2009 12:34:24 +0000 |
parents | 06540eb5ef6a |
children | 0f1b5b68af32 |
comparison
equal
deleted
inserted
replaced
29188:15e8d8f0a1ea | 29189:a7bb794af98d |
---|---|
2825 stream_set_interrupt_callback(mp_input_check_interrupt); | 2825 stream_set_interrupt_callback(mp_input_check_interrupt); |
2826 | 2826 |
2827 #ifdef CONFIG_MENU | 2827 #ifdef CONFIG_MENU |
2828 if(use_menu) { | 2828 if(use_menu) { |
2829 if(menu_cfg && menu_init(mpctx, menu_cfg)) | 2829 if(menu_cfg && menu_init(mpctx, menu_cfg)) |
2830 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_MenuInitialized, menu_cfg); | 2830 mp_msg(MSGT_CPLAYER, MSGL_V, MSGTR_MenuInitialized, menu_cfg); |
2831 else { | 2831 else { |
2832 menu_cfg = get_path("menu.conf"); | 2832 menu_cfg = get_path("menu.conf"); |
2833 if(menu_init(mpctx, menu_cfg)) | 2833 if(menu_init(mpctx, menu_cfg)) |
2834 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_MenuInitialized, menu_cfg); | 2834 mp_msg(MSGT_CPLAYER, MSGL_V, MSGTR_MenuInitialized, menu_cfg); |
2835 else { | 2835 else { |
2836 if(menu_init(mpctx, MPLAYER_CONFDIR "/menu.conf")) | 2836 if(menu_init(mpctx, MPLAYER_CONFDIR "/menu.conf")) |
2837 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_MenuInitialized, MPLAYER_CONFDIR"/menu.conf"); | 2837 mp_msg(MSGT_CPLAYER, MSGL_V, MSGTR_MenuInitialized, MPLAYER_CONFDIR"/menu.conf"); |
2838 else { | 2838 else { |
2839 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_MenuInitFailed); | 2839 mp_msg(MSGT_CPLAYER, MSGL_ERR, MSGTR_MenuInitFailed); |
2840 use_menu = 0; | 2840 use_menu = 0; |
2841 } | 2841 } |
2842 } | 2842 } |
2843 } | 2843 } |
2844 } | 2844 } |