From 68edfcd777593a0fe018c16e3331b28adf4ab829 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sun, 10 Nov 2024 16:17:34 +0100 Subject: [PATCH] options: increase the default --image-display-duration 1 second is too short to view images, so increase the default duration to 5 seconds. --- DOCS/man/options.rst | 2 +- options/options.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 670de614e589b..d32bcac9d4b88 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -3260,7 +3260,7 @@ Window ``--image-display-duration=`` If the current file is an image, play the image for the given amount of - seconds (default: 1). ``inf`` means the file is kept open forever (until + seconds (default: 5). ``inf`` means the file is kept open forever (until the user stops playback manually). Unlike ``--keep-open``, the player is not paused, but simply continues diff --git a/options/options.c b/options/options.c index 769b3efbb3368..b1d5eacfaf09d 100644 --- a/options/options.c +++ b/options/options.c @@ -1041,7 +1041,7 @@ static const struct MPOpts mp_default_opts = { .play_frames = -1, .rebase_start_time = true, .keep_open_pause = true, - .image_display_duration = 1.0, + .image_display_duration = 5.0, .stream_id = { { [STREAM_AUDIO] = -1, [STREAM_VIDEO] = -1, [STREAM_SUB] = -1, },