mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 04:45:33 +00:00
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;
|
struct input_opts *input_opts;
|
||||||
|
|
||||||
// may be NULL if encoding is not compiled-in
|
|
||||||
struct encode_opts *encode_opts;
|
struct encode_opts *encode_opts;
|
||||||
|
|
||||||
char *ipc_path;
|
char *ipc_path;
|
||||||
|
@ -79,8 +79,7 @@ void mp_parse_cfgfiles(struct MPContext *mpctx)
|
|||||||
talloc_free(p2);
|
talloc_free(p2);
|
||||||
|
|
||||||
char *section = NULL;
|
char *section = NULL;
|
||||||
bool encoding = opts->encode_opts &&
|
bool encoding = opts->encode_opts->file && opts->encode_opts->file[0];
|
||||||
opts->encode_opts->file && opts->encode_opts->file[0];
|
|
||||||
// In encoding mode, we don't want to apply normal config options.
|
// In encoding mode, we don't want to apply normal config options.
|
||||||
// So we "divert" normal options into a separate section, and the diverted
|
// So we "divert" normal options into a separate section, and the diverted
|
||||||
// section is never used - unless maybe it's explicitly referenced from an
|
// section is never used - unless maybe it's explicitly referenced from an
|
||||||
|
Loading…
Reference in New Issue
Block a user