mirror of
https://github.com/mpv-player/mpv
synced 2025-02-05 14:42:24 +00:00
added subconfig type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2618 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5e1e438cd4
commit
39a160c63d
@ -13,6 +13,8 @@
|
|||||||
#define CONF_TYPE_FUNC_PARAM 5
|
#define CONF_TYPE_FUNC_PARAM 5
|
||||||
#define CONF_TYPE_PRINT 6
|
#define CONF_TYPE_PRINT 6
|
||||||
#define CONF_TYPE_FUNC_FULL 7
|
#define CONF_TYPE_FUNC_FULL 7
|
||||||
|
#define CONF_TYPE_SUBCONFIG 8
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define ERR_NOT_AN_OPTION -1
|
#define ERR_NOT_AN_OPTION -1
|
||||||
@ -31,7 +33,7 @@
|
|||||||
struct config {
|
struct config {
|
||||||
char *name;
|
char *name;
|
||||||
void *p;
|
void *p;
|
||||||
unsigned int type :3;
|
unsigned int type :4;
|
||||||
unsigned int flags:4;
|
unsigned int flags:4;
|
||||||
float min,max;
|
float min,max;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user