summaryrefslogtreecommitdiffstats
path: root/m_property.h
diff options
context:
space:
mode:
Diffstat (limited to 'm_property.h')
-rw-r--r--m_property.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/m_property.h b/m_property.h
index dc3e436cf6..269ff1b58f 100644
--- a/m_property.h
+++ b/m_property.h
@@ -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; \