From 0fd651ff1ab39caca19551e0f66326db49c01699 Mon Sep 17 00:00:00 2001 From: albeu Date: Wed, 22 Mar 2006 16:35:17 +0000 Subject: Add an option to list the properties: -list-properties git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17915 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index fd996dcf72..d670b32f69 100644 --- a/mplayer.c +++ b/mplayer.c @@ -227,6 +227,8 @@ int use_gui=0; int enqueue=0; #endif +static int list_properties = 0; + #define MAX_OSD_LEVEL 3 #define MAX_TERM_OSD_LEVEL 1 @@ -1815,6 +1817,10 @@ if(!codecs_file || !parse_codec_cfg(codecs_file)){ mp_msg(MSGT_CPLAYER, MSGL_INFO, "\n"); opt_exit = 1; } + if(list_properties) { + m_properties_print_help_list(mp_properties); + opt_exit = 1; + } if(opt_exit) exit_player(NULL); -- cgit v1.2.3