Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
91a3ea67
Commit
91a3ea67
authored
Nov 28, 2011
by
Panagiotis H.M. Issaris
Committed by
Marton Balint
Dec 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffplay: add 10 minute seek support to ffplay
Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
9fb2b412
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
ffplay.texi
doc/ffplay.texi
+3
-0
ffplay.c
ffplay.c
+7
-0
No files found.
doc/ffplay.texi
View file @
91a3ea67
...
...
@@ -168,6 +168,9 @@ Seek backward/forward 10 seconds.
@item down/up
Seek backward/forward 1 minute.
@item page down/page up
Seek backward/forward 10 minutes.
@item mouse click
Seek to percentage in file corresponding to fraction of width.
...
...
ffplay.c
View file @
91a3ea67
...
...
@@ -2850,6 +2850,12 @@ static void event_loop(VideoState *cur_stream)
case
SDLK_w
:
toggle_audio_display
(
cur_stream
);
break
;
case
SDLK_PAGEUP
:
incr
=
600
.
0
;
goto
do_seek
;
case
SDLK_PAGEDOWN
:
incr
=
-
600
.
0
;
goto
do_seek
;
case
SDLK_LEFT
:
incr
=
-
10
.
0
;
goto
do_seek
;
...
...
@@ -3119,6 +3125,7 @@ static int opt_help(const char *opt, const char *arg)
"s activate frame-step mode
\n
"
"left/right seek backward/forward 10 seconds
\n
"
"down/up seek backward/forward 1 minute
\n
"
"page down/page up seek backward/forward 10 minutes
\n
"
"mouse click seek to percentage in file corresponding to fraction of width
\n
"
);
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment