codecs.conf, mp_taglists: add FFmpeg Bitmap Brothers JV decoder
[mplayer.git] / defaultopts.c
blobd49841a731c7d461d1696cb68a6b7520b3957def
1 #include <stddef.h>
3 #include "config.h"
4 #include "defaultopts.h"
5 #include "options.h"
7 void set_default_mplayer_options(struct MPOpts *opts)
9 *opts = (const struct MPOpts){
10 .audio_driver_list = NULL,
11 .video_driver_list = NULL,
12 .fixed_vo = 1,
13 .ao_buffersize = -1,
14 .monitor_pixel_aspect = 1.0,
15 .vo_panscanrange = 1.0,
16 .vo_gamma_gamma = 1000,
17 .vo_gamma_brightness = 1000,
18 .vo_gamma_contrast = 1000,
19 .vo_gamma_saturation = 1000,
20 .vo_gamma_hue = 1000,
21 .osd_level = 1,
22 .osd_duration = 1000,
23 .stream_dump_name = "stream.dump",
24 .loop_times = -1,
25 .ordered_chapters = 1,
26 .chapter_merge_threshold = 100,
27 .stream_cache_min_percent = 20.0,
28 .stream_cache_seek_min_percent = 50.0,
29 .chapterrange = {-1, -1},
30 .edition_id = -1,
31 .user_correct_pts = -1,
32 .initial_audio_sync = 1,
33 .term_osd = 1,
34 .term_osd_esc = "\x1b[A\r\x1b[K",
35 .key_fifo_size = 7,
36 .consolecontrols = 1,
37 .doubleclick_time = 300,
38 .audio_id = -1,
39 .video_id = -1,
40 .sub_id = -1,
41 .extension_parsing = 1,
42 .audio_output_channels = 2,
43 .audio_output_format = -1, // AF_FORMAT_UNKNOWN
44 .playback_speed = 1.,
45 .drc_level = 1.,
46 .movie_aspect = -1.,
47 .flip = -1,
48 .vd_use_slices = 1,
49 #ifdef CONFIG_ASS
50 .ass_enabled = 1,
51 #endif
53 .lavc_param = {
54 .workaround_bugs = 1, // autodetect
55 .error_resilience = 2,
56 .error_concealment = 3,
58 .input = {
59 .config_file = "input.conf",
60 .ar_delay = 100,
61 .ar_rate = 8,
62 .use_joystick = 1,
63 .use_lirc = 1,
64 .use_lircc = 1,
65 #ifdef CONFIG_APPLE_REMOTE
66 .use_ar = 1,
67 #endif
68 .default_bindings = 1,