PR #22330 opened by add-uos-ffmpeg
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22330
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22330.patch

Clarify the behavior of seek keyboard shortcuts in both the
documentation and command-line help text. Specifically:
- left/right: mention custom interval option support
- page down/up: improve wording for chapter seeking fallback
- left double-click: rename to "left mouse double-click" for consistency


>From a7e91dcab0994b649c45caa2e004038f0288c3d6 Mon Sep 17 00:00:00 2001
From: zhanghongyuan <[email protected]>
Date: Sat, 28 Feb 2026 23:59:31 +0800
Subject: [PATCH] fftools/ffplay: improve keyboard shortcut documentation

Clarify the behavior of seek keyboard shortcuts in both the
documentation and command-line help text. Specifically:
- left/right: mention custom interval option support
- page down/up: improve wording for chapter seeking fallback
- left double-click: rename to "left mouse double-click" for consistency
---
 doc/ffplay.texi  | 7 +++----
 fftools/ffplay.c | 4 ++--
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/doc/ffplay.texi b/doc/ffplay.texi
index 61d6589587..2619a37c46 100644
--- a/doc/ffplay.texi
+++ b/doc/ffplay.texi
@@ -259,15 +259,14 @@ Pause if the stream is not already paused, step to the 
next video
 frame, and pause.
 
 @item left/right
-Seek backward/forward 10 seconds.
+Seek backward/forward 10 seconds or to custom interval if -seek_interval is 
set.
 
 @item down/up
 Seek backward/forward 1 minute.
 
 @item page down/page up
-Seek to the previous/next chapter.
-or if there are no chapters
-Seek backward/forward 10 minutes.
+Seek to the previous or next chapter, or if there are no chapters, 
+it will seek backward/forward 10 minutes.
 
 @item right mouse click
 Seek to percentage in file corresponding to fraction of width.
diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index fe9aec05ab..efdf3836a2 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -3828,9 +3828,9 @@ void show_help_default(const char *opt, const char *arg)
            "s                   activate frame-step mode\n"
            "left/right          seek backward/forward 10 seconds or to custom 
interval if -seek_interval is set\n"
            "down/up             seek backward/forward 1 minute\n"
-           "page down/page up   seek backward/forward 10 minutes\n"
+           "page down/page up   seek to the previous or next chapter, or if 
there are no chapters, it will seek backward/forward 10 minutes\n"
            "right mouse click   seek to percentage in file corresponding to 
fraction of width\n"
-           "left double-click   toggle full screen\n"
+           "left mouse double-click   toggle full screen\n"
            );
 }
 
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to