Mercurial > mplayer.hg
diff mplayer.c @ 17914:f9cb6fc1608a
Add an option to list the properties: -list-properties
author | albeu |
---|---|
date | Wed, 22 Mar 2006 16:35:17 +0000 |
parents | 52f95509cd05 |
children | caa86b1793fe |
line wrap: on
line diff
--- a/mplayer.c Wed Mar 22 12:23:55 2006 +0000 +++ b/mplayer.c Wed Mar 22 16:35:17 2006 +0000 @@ -227,6 +227,8 @@ int enqueue=0; #endif +static int list_properties = 0; + #define MAX_OSD_LEVEL 3 #define MAX_TERM_OSD_LEVEL 1 @@ -1815,6 +1817,10 @@ 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);