mirror of https://github.com/mpv-player/mpv
options: remove stale comment about encoding mode being compiled-in
Encoding mode used to be a compile time option, but now it's always compiled in.
This commit is contained in:
parent
00e223ccb6
commit
e28bfadbea
|
@ -373,7 +373,6 @@ typedef struct MPOpts {
|
|||
|
||||
struct input_opts *input_opts;
|
||||
|
||||
// may be NULL if encoding is not compiled-in
|
||||
struct encode_opts *encode_opts;
|
||||
|
||||
char *ipc_path;
|
||||
|
|
|
@ -79,8 +79,7 @@ void mp_parse_cfgfiles(struct MPContext *mpctx)
|
|||
talloc_free(p2);
|
||||
|
||||
char *section = NULL;
|
||||
bool encoding = opts->encode_opts &&
|
||||
opts->encode_opts->file && opts->encode_opts->file[0];
|
||||
bool encoding = opts->encode_opts->file && opts->encode_opts->file[0];
|
||||
// In encoding mode, we don't want to apply normal config options.
|
||||
// So we "divert" normal options into a separate section, and the diverted
|
||||
// section is never used - unless maybe it's explicitly referenced from an
|
||||
|
|
Loading…
Reference in New Issue