#
# this file will be used as input for pref.h and pref.cpp
#

# option_name :, name without '-'; the dot is the separator used for the xml tree
#                '.' will be changed to '_'
#                all letters will be changed to their upper-case equivalents
# type        :, ( uint32_t | INT | ULONG | LONG | FLOAT | string | BOOL)
# value       :, default value; used if no xml value available
# minimum     :, the smallest value this option can have (ignored for string)
# maximum     :, the largest  value this option can have (ignored for string)

# type:option name                value  minimum  maximum (incl.)
# codec metasettings for mpeg2enc based
my_prefs_struct{
version{
        uint32_t:apiVersion,           1,      0,    999
}
features{
bool:swap_if_A_greater_than_B,         1,      0,      1
bool:saveprefsonexit,                  1,      0,      1
bool:ignoresavedmarkers,               0,      0,      1
bool:reuse_2pass_log,                  0,      0,      1
bool:audiobar_uses_master,             0,      0,      1
uint32_t:threading_lavc,               0,      0,     32
uint32_t:cpu_caps,            4294967295,      0, 4294967295
uint32_t:cache_size,                  16,      8,     16
bool:shared_cache,                     0,      0,      1
bool:mpeg_no_limit,                    0,      0,      1
bool:dxva2,                            0,      0,      1
bool:dxva2_override_blacklist_version, 0,      0,      1
bool:dxva2_override_blacklist_profile, 0,      0,      1
bool:vdpau,                            0,      0,      1
bool:xvba,                             0,      0,      1
bool:libva,                            0,      0,      1
bool:nvdec,                            0,      0,      1
bool:videotoolbox,                     0,      0,      1
bool:enable_opengl,                    0,      0,      1
bool:filter_preview_canvas_opengl,     1,      0,      1
bool:cap_refresh_enabled,              0,      0,      1
uint32_t:cap_refresh_value,          100,     10,   1000
string:sdlDriver,                     ""
bool:use_last_read_dir_as_target,      0,      0,      1
bool:swap_mouse_wheel,                 0,      0,      1
}
#
keyboard_shortcuts{
bool:use_alternate_kbd_shortcuts,      0,      0,      1
bool:swap_up_down_keys,                0,      0,      1
string:alt_mark_a,                     "I"
string:alt_mark_b,                     "O"
string:alt_reset_mark_a,               "U"
string:alt_reset_mark_b,               "P"
string:alt_reset_markers,              "R"
string:alt_goto_mark_a,                "A"
string:alt_goto_mark_b,                "B"
string:alt_begin,                      "S"
string:alt_end,                        "E"
string:alt_delete,                     "Delete"
}
#
update{
bool:enabled,                          1,      0,      1
uint32_t:lastCheck,                    0,      0,      5000 # Days since 01/01/2016
}
#
lastfiles{
string:lastdir_read,                   ""
string:lastdir_write,                  ""
string:file1,                          ""
string:file2,                          ""
string:file3,                          ""
string:file4,                          ""
}
#
lastprojects{
string:lastdir_read,                   ""
string:lastdir_write,                  ""
string:file1,                          ""
string:file2,                          ""
string:file3,                          ""
string:file4,                          ""
}
#
uint32_t:message_level,                2,      0,      2
#
audio_device{
string:audiodevice,                    ALSA
string:alsa_device,                    "dmix"
}
uint32_t:videodevice,                  0,      0,     11
#
priority{
uint32_t:encoding,                     3,      0,      4
#uint32_t:indexing,                     3,      0,      4
uint32_t:playback,                     0,      0,      4
}
#
Default{
uint32_t:postproc_type,                0,      0,      7
uint32_t:postproc_value,               0,      0,      5
uint32_t:downmixing,                   1,      0,      5
string:language,                       ""
bool:warn_for_fonts,                   1,      0,      1
bool:multiload_use_custom_size,        0,      0,      1
uint32_t:multiload_custom_size_m,   4000,    250,   8192
bool:delete_first_pass_log_files,      0,      0,      1
}
#
avisynth{
bool:avisynth_always_ask,              0,      0,      1
uint32_t:avisynth_defaultport,      9999,   1024,  65535
uint32_t:avisynth_localport,           0,   1024,  65535
}
#
bool:reset_encoder_on_video_load,      0,      0,      1
#
pictures{
bool:load_in_reverse_order,            0,      0,      1
uint32_t:fps_type,                     1,      0,      6
}
#
hdr{
uint32_t:tonemapping,                  1,      0,     99
float:target_luminance,            100.0,    0.0, 1000.0
uint32_t:out_of_gamut_handling,        0,      0,     99
}
#
indexing{
uint32_t:indexing_flags,               0,      0, 4294967295
}
#
}
#
