Mercurial > mplayer.hg
diff m_option.h @ 34149:11d9ef2177ec
Improve option type CONF_TYPE_PRINT.
Allow printing options that neither exit MPlayer
nor need an "extra option" in order to work.
This fixes that
mplayer -gui file
won't play, while
mplayer -gui -v file
for example does.
author | ib |
---|---|
date | Sat, 22 Oct 2011 11:00:31 +0000 |
parents | 08a90b0e44e1 |
children | 9b617726812c |
line wrap: on
line diff
--- a/m_option.h Sat Oct 22 00:17:28 2011 +0000 +++ b/m_option.h Sat Oct 22 11:00:31 2011 +0000 @@ -305,6 +305,12 @@ }; +/// \defgroup PrivFlags Private data +/// @{ +/// Don't exit after printing a CONF_TYPE_PRINT option. +#define PRIV_NO_EXIT (void *)-1 +///@} + /// \defgroup OptionFlags Option flags ///@{