mirror of https://github.com/mpv-player/mpv
Add the declarations for mp_property_find/do.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18190 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
05249aeb3a
commit
6ec6fcb6f3
|
@ -37,6 +37,14 @@ void m_properties_print_help_list(m_option_t* list);
|
|||
|
||||
char* m_properties_expand_string(m_option_t* prop_list,char* str);
|
||||
|
||||
// Helpers to use MPlayer's properties
|
||||
|
||||
m_option_t* mp_property_find(char* name);
|
||||
|
||||
int mp_property_do(char* name,int action, void* val);
|
||||
|
||||
// Helpers for property implementations
|
||||
|
||||
#define M_PROPERTY_CLAMP(prop,val) do { \
|
||||
if(((prop)->flags & M_OPT_MIN) && (val) < (prop)->min) \
|
||||
(val) = (prop)->min; \
|
||||
|
|
Loading…
Reference in New Issue