mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 01:22:30 +00:00
eb22569ff0
All authors of the current code have agreed (as far as this commit requires). options.c/options.h will take more effort, because it contains all the option declarations, and thus is touched extremely often. m_option.c is technically still GPL, because of commit2c82d5a1d8
(michael has agreed to LGPL, but only once the core of mpv is LGPL). The geometry parsing code in m_option.c was originally by someone who could not be reached. However, it was heavily rewritten anyway, and only the syntax remains (i.e. not copyright-relevant). parse_commandline.c contains a change by "adland" (commit1d0ac71ae8
), who could not be reached - this this specific part is GPL only. Fortunately, it matters only for DVD (and even then is more like a hack, but whatever). There are some other relevant changes, but they have all been reverted, moved somewhere else, deleted, or replaced.
33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
/*
|
|
* This file is part of mpv.
|
|
*
|
|
* mpv is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* mpv is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef MPLAYER_PARSER_MPCMD_H
|
|
#define MPLAYER_PARSER_MPCMD_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
struct playlist;
|
|
struct m_config;
|
|
struct mpv_global;
|
|
|
|
int m_config_parse_mp_command_line(m_config_t *config, struct playlist *files,
|
|
struct mpv_global *global, char **argv);
|
|
void m_config_preparse_command_line(m_config_t *config, struct mpv_global *global,
|
|
char **argv);
|
|
|
|
#endif /* MPLAYER_PARSER_MPCMD_H */
|