summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 2c2fcc941d..65c6d7234e 100644
--- a/options/options.c
+++ b/options/options.c
@@ -405,6 +405,11 @@ const m_option_t mp_opts[] = {
OPT_REL_TIME("end", play_end, 0),
OPT_REL_TIME("length", play_length, 0),
+ OPT_CHOICE("play-direction", play_dir, 0,
+ ({"forward", 1}, {"backward", -1})),
+ OPT_BYTE_SIZE("video-reversal-buffer", video_reverse_size, 0, 0, (size_t)-1),
+ OPT_BYTE_SIZE("audio-reversal-buffer", audio_reverse_size, 0, 0, (size_t)-1),
+
OPT_FLAG("rebase-start-time", rebase_start_time, 0),
OPT_TIME("ab-loop-a", ab_loop[0], 0, .min = MP_NOPTS_VALUE),
@@ -937,6 +942,9 @@ const struct MPOpts mp_default_opts = {
.audiofile_auto = -1,
.osd_bar_visible = 1,
.screenshot_template = "mpv-shot%n",
+ .play_dir = 1,
+ .video_reverse_size = 1 * 1024 * 1024 * 1024,
+ .audio_reverse_size = 64 * 1024 * 1024,
.audio_output_channels = {
.set = 1,