diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-22 16:35:17 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-22 16:35:17 +0000 |
commit | 0fd651ff1ab39caca19551e0f66326db49c01699 (patch) | |
tree | d88628b14e084c3a405b5b9e1e053f7eb5f139d4 /mplayer.c | |
parent | 528ec79cc28c02ad25fceb9f4bf69aa6ee2205a7 (diff) | |
download | mpv-0fd651ff1ab39caca19551e0f66326db49c01699.tar.bz2 mpv-0fd651ff1ab39caca19551e0f66326db49c01699.tar.xz |
Add an option to list the properties: -list-properties
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17915 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); |