/* * This file is part of MPlayer. * * MPlayer is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * MPlayer 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 General Public License for more details. * * You should have received a copy of the GNU General Public License along * with MPlayer; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include #include #include #include #include #include #include "config.h" #include "talloc.h" #include "osdep/io.h" #include "osdep/getch2.h" #include "osdep/priority.h" #include "osdep/timer.h" #include "mpvcore/av_log.h" #include "mpvcore/codecs.h" #include "mpvcore/cpudetect.h" #include "mpvcore/encode.h" #include "mpvcore/m_config.h" #include "mpvcore/m_option.h" #include "mpvcore/m_property.h" #include "mpvcore/mp_common.h" #include "mpvcore/mp_msg.h" #include "mpvcore/mpv_global.h" #include "mpvcore/resolve.h" #include "mpvcore/parser-cfg.h" #include "mpvcore/parser-mpcmd.h" #include "mpvcore/playlist.h" #include "mpvcore/playlist_parser.h" #include "mpvcore/options.h" #include "mpvcore/input/input.h" #include "audio/decode/dec_audio.h" #include "audio/out/ao.h" #include "audio/mixer.h" #include "demux/demux.h" #include "stream/stream.h" #include "sub/ass_mp.h" #include "sub/osd.h" #include "video/decode/dec_video.h" #include "video/out/vo.h" #include "mp_core.h" #include "mp_lua.h" #include "command.h" #include "screenshot.h" #if HAVE_X11 #include "video/out/x11_common.h" #endif #if HAVE_COCOA #include "osdep/macosx_application.h" #endif #ifdef PTW32_STATIC_LIB #include #endif #if defined(__MINGW32__) || defined(__CYGWIN__) #include #endif const char mp_help_text[] = _( "Usage: mpv [options] [url|path/]filename\n" "\n" "Basic options:\n" " --start=