mirror of https://github.com/mpv-player/mpv
m_config: make m_profile struct non-public
This commit is contained in:
parent
ff3b98d11c
commit
42f06fb915
|
@ -34,8 +34,19 @@
|
||||||
#include "core/m_option.h"
|
#include "core/m_option.h"
|
||||||
#include "core/mp_msg.h"
|
#include "core/mp_msg.h"
|
||||||
|
|
||||||
|
// Profiles allow to predefine some sets of options that can then
|
||||||
|
// be applied later on with the internal -profile option.
|
||||||
#define MAX_PROFILE_DEPTH 20
|
#define MAX_PROFILE_DEPTH 20
|
||||||
|
|
||||||
|
struct m_profile {
|
||||||
|
struct m_profile *next;
|
||||||
|
char *name;
|
||||||
|
char *desc;
|
||||||
|
int num_opts;
|
||||||
|
// Option/value pair array.
|
||||||
|
char **opts;
|
||||||
|
};
|
||||||
|
|
||||||
static int parse_include(struct m_config *config, struct bstr param, bool set)
|
static int parse_include(struct m_config *config, struct bstr param, bool set)
|
||||||
{
|
{
|
||||||
if (param.len == 0)
|
if (param.len == 0)
|
||||||
|
|
|
@ -54,19 +54,6 @@ struct m_config_option {
|
||||||
struct m_config_option *alias_owner;
|
struct m_config_option *alias_owner;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Profiles allow to predefine some sets of options that can then
|
|
||||||
// be applied later on with the internal -profile option.
|
|
||||||
|
|
||||||
// Config profile
|
|
||||||
struct m_profile {
|
|
||||||
struct m_profile *next;
|
|
||||||
char *name;
|
|
||||||
char *desc;
|
|
||||||
int num_opts;
|
|
||||||
// Option/value pair array.
|
|
||||||
char **opts;
|
|
||||||
};
|
|
||||||
|
|
||||||
// Config object
|
// Config object
|
||||||
/** \ingroup Config */
|
/** \ingroup Config */
|
||||||
typedef struct m_config {
|
typedef struct m_config {
|
||||||
|
|
Loading…
Reference in New Issue