2008-03-31 03:19:29 +00:00
|
|
|
#ifndef MPLAYER_OPTIONS_H
|
|
|
|
#define MPLAYER_OPTIONS_H
|
|
|
|
|
2013-03-04 16:40:21 +00:00
|
|
|
#include <stdbool.h>
|
2013-03-08 01:08:02 +00:00
|
|
|
#include <stdint.h>
|
2013-08-06 20:41:30 +00:00
|
|
|
#include "mpvcore/m_option.h"
|
2012-11-15 17:49:17 +00:00
|
|
|
|
2013-03-04 21:41:27 +00:00
|
|
|
typedef struct mp_vo_opts {
|
2013-07-21 19:17:48 +00:00
|
|
|
struct m_obj_settings *video_driver_list;
|
2013-03-04 21:41:27 +00:00
|
|
|
|
|
|
|
int screenwidth;
|
|
|
|
int screenheight;
|
|
|
|
int ontop;
|
2013-07-18 12:05:39 +00:00
|
|
|
int fullscreen;
|
2013-03-04 21:41:27 +00:00
|
|
|
int screen_id;
|
|
|
|
int fsscreen_id;
|
|
|
|
char *winname;
|
|
|
|
char** fstype_list;
|
2013-04-03 23:13:56 +00:00
|
|
|
int native_keyrepeat;
|
2013-03-04 21:41:27 +00:00
|
|
|
|
|
|
|
float panscan;
|
2013-06-14 22:15:32 +00:00
|
|
|
float zoom;
|
|
|
|
float pan_x, pan_y;
|
|
|
|
float align_x, align_y;
|
2013-09-01 01:27:03 +00:00
|
|
|
int unscaled;
|
2013-03-04 21:41:27 +00:00
|
|
|
|
|
|
|
struct m_geometry geometry;
|
|
|
|
struct m_geometry autofit;
|
|
|
|
struct m_geometry autofit_larger;
|
|
|
|
|
|
|
|
int fsmode;
|
|
|
|
int keepaspect;
|
|
|
|
int border;
|
|
|
|
|
|
|
|
int enable_mouse_movements;
|
|
|
|
|
|
|
|
int64_t WinID;
|
|
|
|
|
|
|
|
float force_monitor_aspect;
|
|
|
|
float monitor_pixel_aspect;
|
|
|
|
int force_window_position;
|
2013-05-10 22:22:23 +00:00
|
|
|
|
|
|
|
int native_fs;
|
2013-03-04 21:41:27 +00:00
|
|
|
} mp_vo_opts;
|
|
|
|
|
|
|
|
typedef struct MPOpts {
|
2013-04-10 19:06:00 +00:00
|
|
|
char **reset_options;
|
|
|
|
|
2013-07-21 19:33:17 +00:00
|
|
|
struct m_obj_settings *audio_driver_list;
|
2008-03-31 03:19:29 +00:00
|
|
|
int fixed_vo;
|
2012-01-21 07:28:07 +00:00
|
|
|
int softvol;
|
2012-11-15 18:22:01 +00:00
|
|
|
float mixer_init_volume;
|
|
|
|
int mixer_init_mute;
|
2013-04-09 00:41:46 +00:00
|
|
|
int volstep;
|
2012-01-21 07:28:07 +00:00
|
|
|
float softvol_max;
|
2010-11-12 12:06:37 +00:00
|
|
|
int gapless_audio;
|
2013-03-04 16:40:21 +00:00
|
|
|
|
2013-03-04 21:41:27 +00:00
|
|
|
mp_vo_opts vo;
|
2013-03-04 16:40:21 +00:00
|
|
|
|
|
|
|
char *wintitle;
|
|
|
|
int force_rgba_osd;
|
|
|
|
|
|
|
|
// ranges -100 - 100, 1000 if the vo default should be used
|
|
|
|
int gamma_gamma;
|
|
|
|
int gamma_brightness;
|
|
|
|
int gamma_contrast;
|
|
|
|
int gamma_saturation;
|
|
|
|
int gamma_hue;
|
|
|
|
|
2013-06-13 22:24:41 +00:00
|
|
|
int stop_screensaver;
|
2013-09-08 00:07:20 +00:00
|
|
|
int cursor_autohide_delay;
|
2013-09-08 00:46:19 +00:00
|
|
|
int cursor_autohide_fs;
|
2013-09-08 00:07:20 +00:00
|
|
|
|
video, options: implement better YUV->RGB conversion control
Rewrite control of the colorspace and input/output level parameters
used in YUV-RGB conversions, replacing VO-specific suboptions with new
common options and adding configuration support to more cases.
Add new option --colormatrix which selects the colorspace the original
video is assumed to have in YUV->RGB conversions. The default
behavior changes from assuming BT.601 to colorspace autoselection
between BT.601 and BT.709 using a simple heuristic based on video
size. Add new options --colormatrix-input-range and
--colormatrix-output-range which select input YUV and output RGB range.
Disable the previously existing VO-specific colorspace and level
conversion suboptions in vo_gl and vo_vdpau. Remove the
"yuv_colorspace" property and replace it with one named "colormatrix"
and semantics matching the new option. Add new properties matching the
options for level conversion.
Colorspace selection is currently supported by vo_gl, vo_vdpau, vo_xv
and vf_scale, and all can change it at runtime (previously only
vo_vdpau and vo_xv could). vo_vdpau now uses the same conversion
matrix generation as vo_gl instead of libvdpau functionality; the main
functional difference is that the "contrast" equalizer control behaves
somewhat differently (it scales the Y component around 1/2 instead of
around 0, so that contrast 0 makes the image gray rather than black).
vo_xv does not support level conversion. vf_scale supports range
setting for input, but always outputs full-range RGB.
The value of the slave properties is the policy setting used for
conversions. This means they can be set to any value regardless of
whether the current VO supports that value or whether there currently
even is any video. Possibly separate properties could be added to
query the conversion actually used at the moment, if any.
Because the colorspace and level settings are now set with a single
VF/VO control call, the return value of that is no longer used to
signal whether all the settings are actually supported. Instead code
should set all the details it can support, and ignore the rest. The
core will use GET_YUV_COLORSPACE to check which colorspace details
have been set and which not. In other words, the return value for
SET_YUV_COLORSPACE only signals whether any kind of YUV colorspace
conversion handling exists at all, and VOs have to take care to return
the actual state with GET_YUV_COLORSPACE instead.
To be changed in later commits: add missing option documentation.
2011-10-15 21:50:21 +00:00
|
|
|
int requested_colorspace;
|
|
|
|
int requested_input_range;
|
|
|
|
int requested_output_range;
|
2008-04-25 04:12:05 +00:00
|
|
|
|
core: redo how codecs are mapped, remove codecs.conf
Use codec names instead of FourCCs to identify codecs. Rewrite how
codecs are selected and initialized. Now each decoder exports a list
of decoders (and the codec it supports) via add_decoders(). The order
matters, and the first decoder for a given decoder is preferred over
the other decoders. E.g. all ad_mpg123 decoders are preferred over
ad_lavc, because it comes first in the mpcodecs_ad_drivers array.
Likewise, decoders within ad_lavc that are enumerated first by
libavcodec (using av_codec_next()) are preferred. (This is actually
critical to select h264 software decoding by default instead of vdpau.
libavcodec and ffmpeg/avconv use the same method to select decoders by
default, so we hope this is sane.)
The codec names follow libavcodec's codec names as defined by
AVCodecDescriptor.name (see libavcodec/codec_desc.c). Some decoders
have names different from the canonical codec name. The AVCodecDescriptor
API is relatively new, so we need a compatibility layer for older
libavcodec versions for codec names that are referenced internally,
and which are different from the decoder name. (Add a configure check
for that, because checking versions is getting way too messy.)
demux/codec_tags.c is generated from the former codecs.conf (minus
"special" decoders like vdpau, and excluding the mappings that are the
same as the mappings libavformat's exported RIFF tables). It contains
all the mappings from FourCCs to codec name. This is needed for
demux_mkv, demux_mpg, demux_avi and demux_asf. demux_lavf will set the
codec as determined by libavformat, while the other demuxers have to do
this on their own, using the mp_set_audio/video_codec_from_tag()
functions. Note that the sh_audio/video->format members don't uniquely
identify the codec anymore, and sh->codec takes over this role.
Replace the --ac/--vc/--afm/--vfm with new --vd/--ad options, which
provide cover the functionality of the removed switched.
Note: there's no CODECS_FLAG_FLIP flag anymore. This means some obscure
container/video combinations (e.g. the sample Film_200_zygo_pro.mov)
are played flipped. ffplay/avplay doesn't handle this properly either,
so we don't care and blame ffmeg/libav instead.
2013-02-09 14:15:19 +00:00
|
|
|
char *audio_decoders;
|
|
|
|
char *video_decoders;
|
|
|
|
|
2009-03-29 23:06:58 +00:00
|
|
|
int osd_level;
|
|
|
|
int osd_duration;
|
2011-04-12 15:11:12 +00:00
|
|
|
int osd_fractions;
|
2012-07-29 22:27:50 +00:00
|
|
|
int untimed;
|
2013-05-11 20:19:33 +00:00
|
|
|
char *stream_capture;
|
2013-05-11 20:40:46 +00:00
|
|
|
char *stream_dump;
|
2008-04-21 02:18:40 +00:00
|
|
|
int loop_times;
|
2013-08-18 22:50:39 +00:00
|
|
|
int shuffle;
|
2009-04-07 23:37:27 +00:00
|
|
|
int ordered_chapters;
|
2010-11-26 14:56:05 +00:00
|
|
|
int chapter_merge_threshold;
|
2013-08-14 01:25:50 +00:00
|
|
|
double chapter_seek_threshold;
|
2013-08-25 18:40:21 +00:00
|
|
|
int load_unsafe_playlists;
|
2010-11-12 20:04:16 +00:00
|
|
|
int quiet;
|
2013-02-08 22:52:06 +00:00
|
|
|
int load_config;
|
2013-03-08 01:08:02 +00:00
|
|
|
int use_filedir_conf;
|
2012-08-19 13:31:38 +00:00
|
|
|
int stream_cache_size;
|
2013-07-10 13:03:54 +00:00
|
|
|
int stream_cache_def_size;
|
2010-11-11 15:36:09 +00:00
|
|
|
float stream_cache_min_percent;
|
|
|
|
float stream_cache_seek_min_percent;
|
2012-12-01 23:22:54 +00:00
|
|
|
int stream_cache_pause;
|
2010-04-24 17:09:31 +00:00
|
|
|
int chapterrange[2];
|
2009-12-01 12:28:34 +00:00
|
|
|
int edition_id;
|
2008-04-25 10:30:44 +00:00
|
|
|
int correct_pts;
|
2009-11-21 18:53:10 +00:00
|
|
|
int user_pts_assoc_mode;
|
2010-11-13 17:27:01 +00:00
|
|
|
int initial_audio_sync;
|
2010-12-14 23:09:47 +00:00
|
|
|
int hr_seek;
|
2011-11-06 14:54:57 +00:00
|
|
|
float hr_seek_demuxer_offset;
|
2013-03-08 01:08:02 +00:00
|
|
|
float audio_delay;
|
|
|
|
float default_max_pts_correction;
|
2010-11-12 20:04:16 +00:00
|
|
|
int autosync;
|
|
|
|
int softsleep;
|
2012-09-17 06:38:19 +00:00
|
|
|
int frame_dropping;
|
2010-11-13 21:10:58 +00:00
|
|
|
int term_osd;
|
|
|
|
char *term_osd_esc;
|
|
|
|
char *playing_msg;
|
2012-10-02 01:12:09 +00:00
|
|
|
char *status_msg;
|
2013-02-16 21:14:33 +00:00
|
|
|
char *osd_status_msg;
|
2013-03-08 01:08:02 +00:00
|
|
|
char *heartbeat_cmd;
|
2013-04-04 12:24:42 +00:00
|
|
|
float heartbeat_interval;
|
2010-11-13 21:10:58 +00:00
|
|
|
int player_idle_mode;
|
2013-03-08 01:08:02 +00:00
|
|
|
int slave_mode;
|
2010-11-13 21:10:58 +00:00
|
|
|
int consolecontrols;
|
|
|
|
int list_properties;
|
2012-11-15 17:49:17 +00:00
|
|
|
struct m_rel_time play_start;
|
|
|
|
struct m_rel_time play_end;
|
|
|
|
struct m_rel_time play_length;
|
2013-03-08 01:08:02 +00:00
|
|
|
int play_frames;
|
|
|
|
double step_sec;
|
|
|
|
int64_t seek_to_byte;
|
core: add playback resume feature (manual/opt-in)
A "watch later" command is now mapped to Shift+Q. This quits the player
and stores the playback state in a config file in ~/.mpv/watch_later/.
When calling the player with the same file again, playback is resumed
at that time position.
It's also possible to make mpv save playback state always on quit with
the --save-position-on-quit option. Likewise, resuming can be disabled
with the --no-resume-playback option.
This also attempts to save some playback parameters, like fullscreen
state or track selection. This will unconditionally override config
settings and command line options (which is probably not what you would
expect, but in general nobody will really care about this). Some things
are not backed up, because that would cause various problems. Additional
subtitle files, video filters, etc. are not stored because that would be
too hard and fragile. Volume/mute state are not stored because it would
mess up if the system mixer is used, or if the system mixer was
readjusted in the meantime.
Basically, the tradeoff between perfect state restoration and
complexity/fragility makes it not worth to attempt to implement
it perfectly, even if the result is a little bit inconsistent.
2013-05-05 17:37:29 +00:00
|
|
|
int position_resume;
|
|
|
|
int position_save_on_quit;
|
2013-04-25 18:38:22 +00:00
|
|
|
int pause;
|
core: add --keep-open, which doesn't close the file on EOF
The --keep-open option causes mpv not to close the current file.
Instead, it will pause, and allow the user to seek around. When
seeking beyond the end of the file, mpv does a precise seek back to
the previous last known position that produced video output.
In some corner cases, mpv might not be able to produce video output at
all, despite having created a VO. (Possibly when only 1 frame could be
decoded, but the video filter chain queues frames. Then a VO would be
created, without sending an actual video frame to the VO.) In these
cases, the VO window will not redraw, not even OSD.
Based on a patch by coax [1].
[1] http://devel.mplayer2.org/ticket/210#comment:4
2012-11-12 23:56:20 +00:00
|
|
|
int keep_open;
|
2008-04-23 04:01:31 +00:00
|
|
|
int audio_id;
|
|
|
|
int video_id;
|
2008-04-23 04:41:17 +00:00
|
|
|
int sub_id;
|
2011-02-18 14:32:40 +00:00
|
|
|
char **audio_lang;
|
|
|
|
char **sub_lang;
|
2012-12-10 17:52:06 +00:00
|
|
|
int audio_display;
|
2012-08-25 18:22:39 +00:00
|
|
|
int sub_visibility;
|
2013-04-28 23:49:20 +00:00
|
|
|
int sub_pos;
|
|
|
|
float sub_delay;
|
|
|
|
float sub_fps;
|
2013-06-24 22:03:37 +00:00
|
|
|
float sub_speed;
|
2013-03-08 01:08:02 +00:00
|
|
|
int forced_subs_only;
|
2012-03-02 19:24:34 +00:00
|
|
|
char *quvi_format;
|
2010-11-11 14:24:17 +00:00
|
|
|
|
2013-04-28 23:49:20 +00:00
|
|
|
// subreader.c
|
|
|
|
int suboverlap_enabled;
|
|
|
|
char *sub_cp;
|
|
|
|
|
2010-11-11 14:24:17 +00:00
|
|
|
char *audio_stream;
|
|
|
|
int audio_stream_cache;
|
|
|
|
char *demuxer_name;
|
|
|
|
char *audio_demuxer_name;
|
|
|
|
char *sub_demuxer_name;
|
2013-04-03 23:43:14 +00:00
|
|
|
int mkv_subtitle_preroll;
|
2010-11-11 14:24:17 +00:00
|
|
|
|
2012-08-06 15:48:30 +00:00
|
|
|
struct image_writer_opts *screenshot_image_opts;
|
screenshot: make screenshot filenames configurable
This adds the --screenshot-template option, which specifies a template
for the filename used for a screenshot. The '%' character is parsed as
format specifier. These format specifiers insert metadata into the
filename. For example, '%f' is replaced with the filename of the
currently played file.
The following format specifiers are available:
%n Insert sequence number (padded with 4 zeros), e.g. "0002".
%0Nn Like %n, but pad to N zeros (N = 0 to 9).
%n behaves like %04n.
%#n Like %n, but reset the sequence counter on every screenshot.
(Useful if other parts in the template make the resulting
filename already mostly unique.)
%#0Nn Use %0Nn and %#n at the same time.
%f Insert filename of the currently played video.
%F Like %f, but with stripped file extension ("." and rest).
%p Insert current playback time, in HH:MM:SS format.
%P Like %p, but adds milliseconds: HH:MM:SS.mmmm
%tX Insert the current local date/time, using the date format X.
X is a single letter and is passed to strftime() as "%X".
E.g. "%td" inserts the number of the current day.
%{prop} Insert the value of the slave property 'prop'.
E.g. %{filename} is the same as %f. If the property doesn't
exist or is not available, nothing is inserted, unless a
fallback is specified as in %{prop:fallback text}.
%% Insert the character '%'.
The strings inserted by format specifiers will be checked for
characters not allowed in filenames (including '/' and '\'), and
replaced with the placeholder '_'. (This doesn't happen for text that
was passed with the --screenshot-template option, and allows specifying
a screenshot target directory by prefixing the template with a relative
or absolute path.)
2012-02-29 02:46:25 +00:00
|
|
|
char *screenshot_template;
|
2011-10-06 18:46:02 +00:00
|
|
|
|
2013-03-08 01:08:02 +00:00
|
|
|
double force_fps;
|
2013-07-07 21:54:11 +00:00
|
|
|
int index_mode; // -1=untouched 0=don't use index 1=use (generate) index
|
2013-03-08 01:08:02 +00:00
|
|
|
|
2013-04-06 20:43:12 +00:00
|
|
|
struct mp_chmap audio_output_channels;
|
2010-10-31 05:26:40 +00:00
|
|
|
int audio_output_format;
|
2013-03-08 01:08:02 +00:00
|
|
|
int force_srate;
|
2013-03-03 17:48:20 +00:00
|
|
|
int dtshd;
|
2013-08-04 21:56:20 +00:00
|
|
|
double playback_speed;
|
2008-04-25 10:58:12 +00:00
|
|
|
struct m_obj_settings *vf_settings;
|
2013-07-22 12:43:58 +00:00
|
|
|
struct m_obj_settings *af_settings;
|
2008-04-24 04:36:43 +00:00
|
|
|
float movie_aspect;
|
2008-04-24 04:14:05 +00:00
|
|
|
int flip;
|
2013-05-20 22:45:42 +00:00
|
|
|
int field_dominance;
|
|
|
|
int divx_quality;
|
2011-02-07 23:35:51 +00:00
|
|
|
char **sub_name;
|
2011-03-03 10:31:12 +00:00
|
|
|
char **sub_paths;
|
2011-02-07 23:35:51 +00:00
|
|
|
int sub_auto;
|
2013-04-28 23:49:20 +00:00
|
|
|
int sub_match_fuzziness;
|
2013-02-16 20:17:59 +00:00
|
|
|
int osd_bar_visible;
|
2013-02-14 19:43:00 +00:00
|
|
|
float osd_bar_align_x;
|
|
|
|
float osd_bar_align_y;
|
2013-03-30 19:08:56 +00:00
|
|
|
float osd_bar_w;
|
|
|
|
float osd_bar_h;
|
2013-05-14 12:10:27 +00:00
|
|
|
float osd_scale;
|
2012-11-17 19:56:45 +00:00
|
|
|
struct osd_style_opts *osd_style;
|
2013-01-04 15:10:17 +00:00
|
|
|
struct osd_style_opts *sub_text_style;
|
2012-11-17 19:56:45 +00:00
|
|
|
float sub_scale;
|
2012-11-24 23:06:16 +00:00
|
|
|
float sub_gauss;
|
2012-11-25 22:32:35 +00:00
|
|
|
int sub_gray;
|
2009-12-02 15:36:59 +00:00
|
|
|
int ass_enabled;
|
2011-09-03 10:47:56 +00:00
|
|
|
float ass_line_spacing;
|
|
|
|
int ass_use_margins;
|
2011-08-04 19:47:36 +00:00
|
|
|
int ass_vsfilter_aspect_compat;
|
2013-07-14 23:48:25 +00:00
|
|
|
int ass_vsfilter_color_compat;
|
2013-06-30 16:46:29 +00:00
|
|
|
int ass_vsfilter_blur_compat;
|
2011-09-03 10:47:56 +00:00
|
|
|
int use_embedded_fonts;
|
2011-07-23 02:13:25 +00:00
|
|
|
char **ass_force_style_list;
|
2011-09-03 10:47:56 +00:00
|
|
|
char *ass_styles_file;
|
2012-10-11 00:23:29 +00:00
|
|
|
int ass_style_override;
|
2011-09-03 10:47:56 +00:00
|
|
|
int ass_hinting;
|
2012-12-11 17:16:42 +00:00
|
|
|
|
|
|
|
int hwdec_api;
|
2013-05-03 19:00:05 +00:00
|
|
|
char *hwdec_codecs;
|
2012-12-11 17:16:42 +00:00
|
|
|
|
2008-04-24 00:59:21 +00:00
|
|
|
struct lavc_param {
|
|
|
|
int fast;
|
|
|
|
char *skip_loop_filter_str;
|
|
|
|
char *skip_idct_str;
|
|
|
|
char *skip_frame_str;
|
|
|
|
int threads;
|
|
|
|
int bitexact;
|
2008-05-15 18:19:35 +00:00
|
|
|
char *avopt;
|
2008-04-24 00:59:21 +00:00
|
|
|
} lavc_param;
|
2010-04-23 19:08:18 +00:00
|
|
|
|
2013-03-31 02:24:53 +00:00
|
|
|
struct ad_lavc_param {
|
|
|
|
float ac3drc;
|
|
|
|
int downmix;
|
|
|
|
char *avopt;
|
|
|
|
} ad_lavc_param;
|
|
|
|
|
2010-04-23 19:08:18 +00:00
|
|
|
struct lavfdopts {
|
2013-03-01 10:21:13 +00:00
|
|
|
int probesize;
|
2012-12-08 19:14:13 +00:00
|
|
|
int probescore;
|
2013-05-27 21:26:22 +00:00
|
|
|
float analyzeduration;
|
2013-08-04 21:25:54 +00:00
|
|
|
int buffersize;
|
2013-05-27 20:48:04 +00:00
|
|
|
int allow_mimetype;
|
2010-04-23 19:08:18 +00:00
|
|
|
char *format;
|
|
|
|
char *cryptokey;
|
|
|
|
char *avopt;
|
2013-07-14 21:44:50 +00:00
|
|
|
int genptsmode;
|
2010-04-23 19:08:18 +00:00
|
|
|
} lavfdopts;
|
|
|
|
|
2008-04-30 15:57:02 +00:00
|
|
|
struct input_conf {
|
|
|
|
char *config_file;
|
2013-07-02 12:00:24 +00:00
|
|
|
int doubleclick_time;
|
2011-07-17 01:47:50 +00:00
|
|
|
int key_fifo_size;
|
2013-03-01 10:21:13 +00:00
|
|
|
int ar_delay;
|
|
|
|
int ar_rate;
|
2008-04-30 15:57:02 +00:00
|
|
|
char *js_dev;
|
|
|
|
char *in_file;
|
|
|
|
int use_joystick;
|
|
|
|
int use_lirc;
|
|
|
|
int use_lircc;
|
2013-06-02 22:52:40 +00:00
|
|
|
int use_ar;
|
2013-06-04 20:12:23 +00:00
|
|
|
int use_media_keys;
|
2009-03-31 23:26:34 +00:00
|
|
|
int default_bindings;
|
2012-10-13 19:10:20 +00:00
|
|
|
int test;
|
2008-04-30 15:57:02 +00:00
|
|
|
} input;
|
2012-09-14 15:51:26 +00:00
|
|
|
|
|
|
|
struct encode_output_conf {
|
|
|
|
char *file;
|
|
|
|
char *format;
|
|
|
|
char **fopts;
|
|
|
|
float fps;
|
2013-06-09 13:37:28 +00:00
|
|
|
float maxfps;
|
2012-09-14 15:51:26 +00:00
|
|
|
char *vcodec;
|
|
|
|
char **vopts;
|
|
|
|
char *acodec;
|
|
|
|
char **aopts;
|
|
|
|
int harddup;
|
|
|
|
float voffset;
|
|
|
|
float aoffset;
|
|
|
|
int copyts;
|
|
|
|
int rawts;
|
|
|
|
int autofps;
|
|
|
|
int neverdrop;
|
2012-09-29 13:04:40 +00:00
|
|
|
int video_first;
|
|
|
|
int audio_first;
|
2012-09-14 15:51:26 +00:00
|
|
|
} encode_output;
|
2008-03-31 03:19:29 +00:00
|
|
|
} MPOpts;
|
|
|
|
|
2013-07-07 16:47:39 +00:00
|
|
|
// Should be moved into MPOpts
|
|
|
|
extern char **network_http_header_fields;
|
|
|
|
extern char *network_useragent;
|
|
|
|
extern char *network_referrer;
|
|
|
|
extern int network_cookies_enabled;
|
|
|
|
extern char *cookies_file;
|
|
|
|
|
2013-06-07 20:57:00 +00:00
|
|
|
extern const m_option_t mp_opts[];
|
|
|
|
extern const struct MPOpts mp_default_opts;
|
|
|
|
|
2008-03-31 03:19:29 +00:00
|
|
|
#endif
|