mirror of
https://github.com/mpv-player/mpv
synced 2025-01-02 21:12:23 +00:00
Move options/config related files from mpvcore/ to options/
Since m_option.h and options.h are extremely often included, a lot of files have to be changed. Moving path.c/h to options/ is a bit questionable, but since this is mainly about access to config files (which are also handled in options/), it's probably ok.
This commit is contained in:
parent
793f85945f
commit
eb15151705
@ -32,7 +32,7 @@
|
|||||||
#include "mpvcore/av_common.h"
|
#include "mpvcore/av_common.h"
|
||||||
#include "mpvcore/codecs.h"
|
#include "mpvcore/codecs.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/av_opts.h"
|
#include "mpvcore/av_opts.h"
|
||||||
|
|
||||||
#include "ad.h"
|
#include "ad.h"
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/av_common.h"
|
#include "mpvcore/av_common.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "ad.h"
|
#include "ad.h"
|
||||||
|
|
||||||
#define OUTBUF_SIZE 65536
|
#define OUTBUF_SIZE 65536
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/m_config.h"
|
#include "options/m_config.h"
|
||||||
|
|
||||||
#include "af.h"
|
#include "af.h"
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "audio/format.h"
|
#include "audio/format.h"
|
||||||
#include "audio/chmap.h"
|
#include "audio/chmap.h"
|
||||||
#include "audio/audio.h"
|
#include "audio/audio.h"
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "af.h"
|
#include "af.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
/// Internal specific data of the filter
|
/// Internal specific data of the filter
|
||||||
struct af_bs2b {
|
struct af_bs2b {
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "af.h"
|
#include "af.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
|
|
||||||
#define DEF_SZ 512 // default buffer size (in samples)
|
#define DEF_SZ 512 // default buffer size (in samples)
|
||||||
#define SHARED_FILE "mpv-af_export" /* default file name
|
#define SHARED_FILE "mpv-af_export" /* default file name
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include <libavutil/common.h>
|
#include <libavutil/common.h>
|
||||||
|
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
#include "audio/format.h"
|
#include "audio/format.h"
|
||||||
#include "af.h"
|
#include "af.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#include "audio/fmt-conversion.h"
|
#include "audio/fmt-conversion.h"
|
||||||
#include "af.h"
|
#include "af.h"
|
||||||
|
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/av_opts.h"
|
#include "mpvcore/av_opts.h"
|
||||||
|
|
||||||
#define IS_LIBAV_FORK (LIBAVFILTER_VERSION_MICRO < 100)
|
#define IS_LIBAV_FORK (LIBAVFILTER_VERSION_MICRO < 100)
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/av_opts.h"
|
#include "mpvcore/av_opts.h"
|
||||||
#include "audio/filter/af.h"
|
#include "audio/filter/af.h"
|
||||||
#include "audio/fmt-conversion.h"
|
#include "audio/fmt-conversion.h"
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
|
|
||||||
#include "af.h"
|
#include "af.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
// Data for specific instances of this filter
|
// Data for specific instances of this filter
|
||||||
typedef struct af_scaletempo_s
|
typedef struct af_scaletempo_s
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
#include "ao.h"
|
#include "ao.h"
|
||||||
#include "audio/format.h"
|
#include "audio/format.h"
|
||||||
|
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/m_config.h"
|
#include "options/m_config.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/mpv_global.h"
|
#include "mpvcore/mpv_global.h"
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
|
|
||||||
#define ALSA_PCM_NEW_HW_PARAMS_API
|
#define ALSA_PCM_NEW_HW_PARAMS_API
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include "ao.h"
|
#include "ao.h"
|
||||||
#include "audio/format.h"
|
#include "audio/format.h"
|
||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/mp_ring.h"
|
#include "mpvcore/mp_ring.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "audio/out/ao_coreaudio_properties.h"
|
#include "audio/out/ao_coreaudio_properties.h"
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#include "audio/reorder_ch.h"
|
#include "audio/reorder_ch.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\todo use the definitions from the win32 api headers when they define these
|
\todo use the definitions from the win32 api headers when they define these
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#include "ao.h"
|
#include "ao.h"
|
||||||
#include "audio/format.h"
|
#include "audio/format.h"
|
||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
#include "mpvcore/mp_ring.h"
|
#include "mpvcore/mp_ring.h"
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "compat/libav.h"
|
#include "compat/libav.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "audio/format.h"
|
#include "audio/format.h"
|
||||||
#include "audio/fmt-conversion.h"
|
#include "audio/fmt-conversion.h"
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "audio/format.h"
|
#include "audio/format.h"
|
||||||
#include "ao.h"
|
#include "ao.h"
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#include "ao.h"
|
#include "ao.h"
|
||||||
#include "audio/format.h"
|
#include "audio/format.h"
|
||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
#define MAX_CHANS MP_NUM_CHANNELS
|
#define MAX_CHANS MP_NUM_CHANNELS
|
||||||
#define NUM_BUF 128
|
#define NUM_BUF 128
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
|
|
||||||
#if HAVE_SYS_SOUNDCARD_H
|
#if HAVE_SYS_SOUNDCARD_H
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
|
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "audio/format.h"
|
#include "audio/format.h"
|
||||||
#include "audio/reorder_ch.h"
|
#include "audio/reorder_ch.h"
|
||||||
#include "ao.h"
|
#include "ao.h"
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#include <portaudio.h>
|
#include <portaudio.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "audio/format.h"
|
#include "audio/format.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/mp_ring.h"
|
#include "mpvcore/mp_ring.h"
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
|
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
#include "audio/format.h"
|
#include "audio/format.h"
|
||||||
#include "ao.h"
|
#include "ao.h"
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "ao.h"
|
#include "ao.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
|
|
||||||
#include <libavutil/fifo.h>
|
#include <libavutil/fifo.h>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sndio.h>
|
#include <sndio.h>
|
||||||
|
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
|
|
||||||
#include "audio/format.h"
|
#include "audio/format.h"
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include <avrt.h>
|
#include <avrt.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/m_config.h"
|
#include "mpvcore/m_config.h"
|
||||||
#include "audio/format.h"
|
#include "audio/format.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/av_common.h"
|
#include "mpvcore/av_common.h"
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#include "compat/libav.h"
|
#include "compat/libav.h"
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/av_opts.h"
|
#include "mpvcore/av_opts.h"
|
||||||
#include "mpvcore/av_common.h"
|
#include "mpvcore/av_common.h"
|
||||||
@ -44,7 +44,7 @@
|
|||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
#include "demux.h"
|
#include "demux.h"
|
||||||
#include "stheader.h"
|
#include "stheader.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
#define INITIAL_PROBE_SIZE STREAM_BUFFER_SIZE
|
#define INITIAL_PROBE_SIZE STREAM_BUFFER_SIZE
|
||||||
#define PROBE_BUF_SIZE FFMIN(STREAM_MAX_BUFFER_SIZE, 2 * 1024 * 1024)
|
#define PROBE_BUF_SIZE FFMIN(STREAM_MAX_BUFFER_SIZE, 2 * 1024 * 1024)
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#include <ass/ass.h>
|
#include <ass/ass.h>
|
||||||
#include <ass/ass_types.h>
|
#include <ass/ass_types.h>
|
||||||
|
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/charset_conv.h"
|
#include "mpvcore/charset_conv.h"
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/bstr.h"
|
#include "mpvcore/bstr.h"
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
#include "demux.h"
|
#include "demux.h"
|
||||||
|
@ -16,10 +16,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/playlist.h"
|
#include "mpvcore/playlist.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
#include "demux.h"
|
#include "demux.h"
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
#include "demux.h"
|
#include "demux.h"
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
#include "demux/demux.h"
|
#include "demux/demux.h"
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
#include "mpvcore/mp_talloc.h"
|
#include "mpvcore/mp_talloc.h"
|
||||||
|
|
||||||
#include "mf.h"
|
#include "mf.h"
|
||||||
|
@ -43,11 +43,10 @@
|
|||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/mpv_global.h"
|
#include "mpvcore/mpv_global.h"
|
||||||
#include "mpvcore/m_config.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/path.h"
|
||||||
#include "mpvcore/path.h"
|
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/bstr.h"
|
#include "mpvcore/bstr.h"
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "mpvcore/bstr.h"
|
#include "mpvcore/bstr.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
// All command IDs
|
// All command IDs
|
||||||
enum mp_command_type {
|
enum mp_command_type {
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include "encode_lavc.h"
|
#include "encode_lavc.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "video/vfcap.h"
|
#include "video/vfcap.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
#include "video/out/vo.h"
|
#include "video/out/vo.h"
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include "playlist.h"
|
#include "playlist.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
|
|
||||||
struct playlist_entry *playlist_entry_new(const char *filename)
|
struct playlist_entry *playlist_entry_new(const char *filename)
|
||||||
{
|
{
|
||||||
|
@ -36,13 +36,12 @@
|
|||||||
|
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "asxparser.h"
|
#include "asxparser.h"
|
||||||
#include "m_config.h"
|
|
||||||
#include "playlist.h"
|
#include "playlist.h"
|
||||||
#include "playlist_parser.h"
|
#include "playlist_parser.h"
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
#include "demux/demux.h"
|
#include "demux/demux.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
|
|
||||||
|
|
||||||
#define BUF_STEP 1024
|
#define BUF_STEP 1024
|
||||||
|
14
old-makefile
14
old-makefile
@ -201,19 +201,19 @@ SOURCES = audio/audio.c \
|
|||||||
mpvcore/charset_conv.c \
|
mpvcore/charset_conv.c \
|
||||||
mpvcore/codecs.c \
|
mpvcore/codecs.c \
|
||||||
mpvcore/cpudetect.c \
|
mpvcore/cpudetect.c \
|
||||||
mpvcore/m_config.c \
|
|
||||||
mpvcore/m_option.c \
|
|
||||||
mpvcore/m_property.c \
|
|
||||||
mpvcore/mp_common.c \
|
mpvcore/mp_common.c \
|
||||||
mpvcore/mp_msg.c \
|
mpvcore/mp_msg.c \
|
||||||
mpvcore/mp_ring.c \
|
mpvcore/mp_ring.c \
|
||||||
mpvcore/options.c \
|
|
||||||
mpvcore/parser-cfg.c \
|
|
||||||
mpvcore/parser-mpcmd.c \
|
|
||||||
mpvcore/path.c \
|
|
||||||
mpvcore/playlist.c \
|
mpvcore/playlist.c \
|
||||||
mpvcore/playlist_parser.c \
|
mpvcore/playlist_parser.c \
|
||||||
mpvcore/version.c \
|
mpvcore/version.c \
|
||||||
|
options/m_config.c \
|
||||||
|
options/m_option.c \
|
||||||
|
options/m_property.c \
|
||||||
|
options/options.c \
|
||||||
|
options/parse_commandline.c \
|
||||||
|
options/parse_configfile.c \
|
||||||
|
options/path.c \
|
||||||
osdep/io.c \
|
osdep/io.c \
|
||||||
osdep/numcores.c \
|
osdep/numcores.c \
|
||||||
osdep/timer.c \
|
osdep/timer.c \
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
|
|
||||||
#include "m_config.h"
|
#include "m_config.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
|
|
||||||
static const union m_option_value default_value;
|
static const union m_option_value default_value;
|
@ -37,9 +37,9 @@
|
|||||||
|
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "mpvcore/m_option.h"
|
|
||||||
#include "mpvcore/m_config.h"
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
|
#include "m_option.h"
|
||||||
|
#include "m_config.h"
|
||||||
|
|
||||||
char *m_option_strerror(int code)
|
char *m_option_strerror(int code)
|
||||||
{
|
{
|
@ -30,7 +30,7 @@
|
|||||||
#include <libavutil/common.h>
|
#include <libavutil/common.h>
|
||||||
|
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "m_option.h"
|
||||||
#include "m_property.h"
|
#include "m_property.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
@ -27,11 +27,11 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include "mpvcore/options.h"
|
#include "options.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
#include "mpvcore/m_config.h"
|
#include "m_config.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "m_option.h"
|
||||||
#include "stream/tv.h"
|
#include "stream/tv.h"
|
||||||
#include "stream/stream_radio.h"
|
#include "stream/stream_radio.h"
|
||||||
#include "video/csputils.h"
|
#include "video/csputils.h"
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "mpvcore/m_option.h"
|
#include "m_option.h"
|
||||||
|
|
||||||
typedef struct mp_vo_opts {
|
typedef struct mp_vo_opts {
|
||||||
struct m_obj_settings *video_driver_list, *vo_defs;
|
struct m_obj_settings *video_driver_list, *vo_defs;
|
@ -26,11 +26,11 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "m_option.h"
|
||||||
#include "m_config.h"
|
#include "m_config.h"
|
||||||
#include "playlist.h"
|
#include "mpvcore/playlist.h"
|
||||||
#include "playlist_parser.h"
|
#include "mpvcore/playlist_parser.h"
|
||||||
#include "parser-mpcmd.h"
|
#include "parse_commandline.h"
|
||||||
|
|
||||||
#define GLOBAL 0
|
#define GLOBAL 0
|
||||||
#define LOCAL 1
|
#define LOCAL 1
|
@ -27,9 +27,9 @@
|
|||||||
|
|
||||||
#include "osdep/io.h"
|
#include "osdep/io.h"
|
||||||
|
|
||||||
#include "parser-cfg.h"
|
#include "parse_configfile.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "m_option.h"
|
||||||
#include "m_config.h"
|
#include "m_config.h"
|
||||||
|
|
||||||
/// Maximal include depth.
|
/// Maximal include depth.
|
@ -34,7 +34,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "osdep/io.h"
|
#include "osdep/io.h"
|
||||||
#include "osdep/path.h"
|
#include "osdep/path.h"
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#include "osdep/path.h"
|
#include "osdep/path.h"
|
||||||
#include "osdep/io.h"
|
#include "osdep/io.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
|
|
||||||
// Warning: do not use PATH_MAX. Cygwin messed it up.
|
// Warning: do not use PATH_MAX. Cygwin messed it up.
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
|
|
||||||
#include "audio/mixer.h"
|
#include "audio/mixer.h"
|
||||||
|
@ -42,9 +42,9 @@
|
|||||||
#include "mpvcore/playlist_parser.h"
|
#include "mpvcore/playlist_parser.h"
|
||||||
#include "sub/osd.h"
|
#include "sub/osd.h"
|
||||||
#include "sub/dec_sub.h"
|
#include "sub/dec_sub.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/m_property.h"
|
#include "options/m_property.h"
|
||||||
#include "mpvcore/m_config.h"
|
#include "options/m_config.h"
|
||||||
#include "video/filter/vf.h"
|
#include "video/filter/vf.h"
|
||||||
#include "video/decode/vd.h"
|
#include "video/decode/vd.h"
|
||||||
#include "video/out/vo.h"
|
#include "video/out/vo.h"
|
||||||
@ -55,7 +55,7 @@
|
|||||||
#include "audio/filter/af.h"
|
#include "audio/filter/af.h"
|
||||||
#include "video/decode/dec_video.h"
|
#include "video/decode/dec_video.h"
|
||||||
#include "audio/decode/dec_audio.h"
|
#include "audio/decode/dec_audio.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
#include "stream/tv.h"
|
#include "stream/tv.h"
|
||||||
#include "stream/stream_radio.h"
|
#include "stream/stream_radio.h"
|
||||||
#include "stream/pvr.h"
|
#include "stream/pvr.h"
|
||||||
|
@ -32,12 +32,12 @@
|
|||||||
#include "osdep/io.h"
|
#include "osdep/io.h"
|
||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
#include "mpvcore/m_config.h"
|
#include "options/m_config.h"
|
||||||
#include "mpvcore/parser-cfg.h"
|
#include "options/parse_configfile.h"
|
||||||
#include "mpvcore/playlist.h"
|
#include "mpvcore/playlist.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/m_property.h"
|
#include "options/m_property.h"
|
||||||
|
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
|
|
||||||
// definitions used internally by the core player code
|
// definitions used internally by the core player code
|
||||||
|
|
||||||
|
@ -31,12 +31,12 @@
|
|||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
#include "mpvcore/m_config.h"
|
#include "options/m_config.h"
|
||||||
#include "mpvcore/parser-cfg.h"
|
#include "options/parse_configfile.h"
|
||||||
#include "mpvcore/playlist.h"
|
#include "mpvcore/playlist.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/m_property.h"
|
#include "options/m_property.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "mpvcore/encode.h"
|
#include "mpvcore/encode.h"
|
||||||
#include "input/input.h"
|
#include "input/input.h"
|
||||||
|
@ -8,11 +8,11 @@
|
|||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
|
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "mpvcore/m_property.h"
|
#include "options/m_property.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "input/input.h"
|
#include "input/input.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
#include "mpvcore/bstr.h"
|
#include "mpvcore/bstr.h"
|
||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
#include "sub/osd.h"
|
#include "sub/osd.h"
|
||||||
|
@ -36,17 +36,17 @@
|
|||||||
#include "mpvcore/codecs.h"
|
#include "mpvcore/codecs.h"
|
||||||
#include "mpvcore/cpudetect.h"
|
#include "mpvcore/cpudetect.h"
|
||||||
#include "mpvcore/encode.h"
|
#include "mpvcore/encode.h"
|
||||||
#include "mpvcore/m_config.h"
|
#include "options/m_config.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/m_property.h"
|
#include "options/m_property.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/mpv_global.h"
|
#include "mpvcore/mpv_global.h"
|
||||||
#include "mpvcore/parser-cfg.h"
|
#include "options/parse_configfile.h"
|
||||||
#include "mpvcore/parser-mpcmd.h"
|
#include "options/parse_commandline.h"
|
||||||
#include "mpvcore/playlist.h"
|
#include "mpvcore/playlist.h"
|
||||||
#include "mpvcore/playlist_parser.h"
|
#include "mpvcore/playlist_parser.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "input/input.h"
|
#include "input/input.h"
|
||||||
|
|
||||||
#include "audio/decode/dec_audio.h"
|
#include "audio/decode/dec_audio.h"
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/m_property.h"
|
#include "options/m_property.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "mpvcore/encode.h"
|
#include "mpvcore/encode.h"
|
||||||
#include "mpvcore/playlist.h"
|
#include "mpvcore/playlist.h"
|
||||||
|
@ -27,9 +27,9 @@
|
|||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "mpvcore/m_property.h"
|
#include "options/m_property.h"
|
||||||
#include "mpvcore/encode.h"
|
#include "mpvcore/encode.h"
|
||||||
|
|
||||||
#include "osdep/getch2.h"
|
#include "osdep/getch2.h"
|
||||||
|
@ -26,10 +26,10 @@
|
|||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "mpvcore/encode.h"
|
#include "mpvcore/encode.h"
|
||||||
#include "mpvcore/m_property.h"
|
#include "options/m_property.h"
|
||||||
#include "mpvcore/playlist.h"
|
#include "mpvcore/playlist.h"
|
||||||
#include "input/input.h"
|
#include "input/input.h"
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include "command.h"
|
#include "command.h"
|
||||||
#include "mpvcore/bstr.h"
|
#include "mpvcore/bstr.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
#include "video/mp_image.h"
|
#include "video/mp_image.h"
|
||||||
#include "video/decode/dec_video.h"
|
#include "video/decode/dec_video.h"
|
||||||
#include "video/filter/vf.h"
|
#include "video/filter/vf.h"
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
|
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include "player/core.h"
|
#include "player/core.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "demux/demux.h"
|
#include "demux/demux.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
#include "mpvcore/bstr.h"
|
#include "mpvcore/bstr.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#include "player/core.h"
|
#include "player/core.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "demux/demux.h"
|
#include "demux/demux.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
#include "mpvcore/bstr.h"
|
#include "mpvcore/bstr.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "mpvcore/playlist.h"
|
#include "mpvcore/playlist.h"
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include "player/core.h"
|
#include "player/core.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "demux/demux.h"
|
#include "demux/demux.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
#include "mpvcore/bstr.h"
|
#include "mpvcore/bstr.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
|
@ -26,10 +26,10 @@
|
|||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "mpvcore/encode.h"
|
#include "mpvcore/encode.h"
|
||||||
#include "mpvcore/m_property.h"
|
#include "options/m_property.h"
|
||||||
|
|
||||||
#include "audio/out/ao.h"
|
#include "audio/out/ao.h"
|
||||||
#include "demux/demux.h"
|
#include "demux/demux.h"
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#include "osdep/io.h"
|
#include "osdep/io.h"
|
||||||
|
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "cookies.h"
|
#include "cookies.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "resolve.h"
|
#include "resolve.h"
|
||||||
|
|
||||||
static void add_source(struct mp_resolve_result *res, const char *url,
|
static void add_source(struct mp_resolve_result *res, const char *url,
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/playlist.h"
|
#include "mpvcore/playlist.h"
|
||||||
#include "resolve.h"
|
#include "resolve.h"
|
||||||
|
|
||||||
|
@ -40,12 +40,12 @@
|
|||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "mpvcore/bstr.h"
|
#include "mpvcore/bstr.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
|
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/m_config.h"
|
#include "options/m_config.h"
|
||||||
|
|
||||||
// Includes additional padding in case sizes get rounded up by sector size.
|
// Includes additional padding in case sizes get rounded up by sector size.
|
||||||
#define TOTAL_BUFFER_SIZE (STREAM_MAX_BUFFER_SIZE + STREAM_MAX_SECTOR_SIZE)
|
#define TOTAL_BUFFER_SIZE (STREAM_MAX_BUFFER_SIZE + STREAM_MAX_SECTOR_SIZE)
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
|
|
||||||
#define BLURAY_SECTOR_SIZE 6144
|
#define BLURAY_SECTOR_SIZE 6144
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
|
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "libavutil/common.h"
|
#include "libavutil/common.h"
|
||||||
#include "compat/mpbswap.h"
|
#include "compat/mpbswap.h"
|
||||||
|
|
||||||
|
@ -47,8 +47,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|||||||
#include "osdep/io.h"
|
#include "osdep/io.h"
|
||||||
|
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
|
|
||||||
#include "dvbin.h"
|
#include "dvbin.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#define FIRST_PCM_AID 160
|
#define FIRST_PCM_AID 160
|
||||||
|
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
#include "stream_dvd.h"
|
#include "stream_dvd.h"
|
||||||
#include "stream_dvd_common.h"
|
#include "stream_dvd_common.h"
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#include <dvdread/ifo_read.h>
|
#include <dvdread/ifo_read.h>
|
||||||
#include <dvdread/nav_read.h>
|
#include <dvdread/nav_read.h>
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
dvd_reader_t *dvd;
|
dvd_reader_t *dvd;
|
||||||
|
@ -28,10 +28,10 @@
|
|||||||
|
|
||||||
#include <dvdnav/dvdnav.h>
|
#include <dvdnav/dvdnav.h>
|
||||||
|
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "input/input.h"
|
#include "input/input.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "demux/demux.h"
|
#include "demux/demux.h"
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
struct priv {
|
struct priv {
|
||||||
int fd;
|
int fd;
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
#include <libavutil/opt.h>
|
#include <libavutil/opt.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
#include "cookies.h"
|
#include "cookies.h"
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
#include <libavutil/avstring.h>
|
#include <libavutil/avstring.h>
|
||||||
|
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "stream_radio.h"
|
#include "stream_radio.h"
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "rar.h"
|
#include "rar.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
struct priv {
|
struct priv {
|
||||||
int fd;
|
int fd;
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "tv.h"
|
#include "tv.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -31,11 +31,11 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
#include "ass_mp.h"
|
#include "ass_mp.h"
|
||||||
#include "osd.h"
|
#include "osd.h"
|
||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
|
|
||||||
// res_y should be track->PlayResY
|
// res_y should be track->PlayResY
|
||||||
// It determines scaling of font sizes and more.
|
// It determines scaling of font sizes and more.
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#include "demux/demux.h"
|
#include "demux/demux.h"
|
||||||
#include "sd.h"
|
#include "sd.h"
|
||||||
#include "dec_sub.h"
|
#include "dec_sub.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/charset_conv.h"
|
#include "mpvcore/charset_conv.h"
|
||||||
|
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
#include "osdep/io.h"
|
#include "osdep/io.h"
|
||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/path.h"
|
#include "options/path.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "sub/find_subfiles.h"
|
#include "sub/find_subfiles.h"
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include "osdep/timer.h"
|
#include "osdep/timer.h"
|
||||||
|
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "osd.h"
|
#include "osd.h"
|
||||||
#include "dec_sub.h"
|
#include "dec_sub.h"
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
// NOTE: VOs must support at least SUBBITMAP_RGBA.
|
// NOTE: VOs must support at least SUBBITMAP_RGBA.
|
||||||
enum sub_bitmap_format {
|
enum sub_bitmap_format {
|
||||||
|
@ -34,7 +34,7 @@ static const char osd_font_pfb[] =
|
|||||||
;
|
;
|
||||||
|
|
||||||
#include "sub/ass_mp.h"
|
#include "sub/ass_mp.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
|
|
||||||
|
|
||||||
#define ASS_USE_OSD_FONT "{\\fnmpv-osd-symbols}"
|
#define ASS_USE_OSD_FONT "{\\fnmpv-osd-symbols}"
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
|
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/mp_common.h"
|
#include "mpvcore/mp_common.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "video/csputils.h"
|
#include "video/csputils.h"
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/av_common.h"
|
#include "mpvcore/av_common.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "video/mp_image.h"
|
#include "video/mp_image.h"
|
||||||
#include "sd.h"
|
#include "sd.h"
|
||||||
#include "dec_sub.h"
|
#include "dec_sub.h"
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "video/mp_image.h"
|
#include "video/mp_image.h"
|
||||||
#include "sd.h"
|
#include "sd.h"
|
||||||
#include "spudec.h"
|
#include "spudec.h"
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#include "talloc.h"
|
#include "talloc.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
#include "mpvcore/bstr.h"
|
#include "mpvcore/bstr.h"
|
||||||
#include "mpvcore/av_opts.h"
|
#include "mpvcore/av_opts.h"
|
||||||
#include "mpvcore/av_common.h"
|
#include "mpvcore/av_common.h"
|
||||||
@ -57,7 +57,7 @@
|
|||||||
#error palette too large, adapt video/mp_image.h:MP_PALETTE_SIZE
|
#error palette too large, adapt video/mp_image.h:MP_PALETTE_SIZE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
static void init_avctx(struct dec_video *vd, const char *decoder,
|
static void init_avctx(struct dec_video *vd, const char *decoder,
|
||||||
struct vd_lavc_hwdec *hwdec);
|
struct vd_lavc_hwdec *hwdec);
|
||||||
|
@ -27,10 +27,10 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
#include "mpvcore/m_config.h"
|
#include "options/m_config.h"
|
||||||
|
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
|
|
||||||
#include "video/img_format.h"
|
#include "video/img_format.h"
|
||||||
#include "video/mp_image.h"
|
#include "video/mp_image.h"
|
||||||
|
@ -22,13 +22,13 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
#include "mpvcore/options.h"
|
#include "options/options.h"
|
||||||
|
|
||||||
#include "video/img_format.h"
|
#include "video/img_format.h"
|
||||||
#include "video/mp_image.h"
|
#include "video/mp_image.h"
|
||||||
#include "vf.h"
|
#include "vf.h"
|
||||||
|
|
||||||
#include "mpvcore/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
static const struct vf_priv_s {
|
static const struct vf_priv_s {
|
||||||
int crop_w,crop_h;
|
int crop_w,crop_h;
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user