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
3130416a
Commit
3130416a
authored
Oct 06, 2013
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffplay: add support for changing the channel by the C key
Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
543d81a7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ffplay.c
ffplay.c
+6
-0
No files found.
ffplay.c
View file @
3130416a
...
...
@@ -3194,6 +3194,11 @@ static void event_loop(VideoState *cur_stream)
case
SDLK_v
:
stream_cycle_channel
(
cur_stream
,
AVMEDIA_TYPE_VIDEO
);
break
;
case
SDLK_c
:
stream_cycle_channel
(
cur_stream
,
AVMEDIA_TYPE_VIDEO
);
stream_cycle_channel
(
cur_stream
,
AVMEDIA_TYPE_AUDIO
);
stream_cycle_channel
(
cur_stream
,
AVMEDIA_TYPE_SUBTITLE
);
break
;
case
SDLK_t
:
stream_cycle_channel
(
cur_stream
,
AVMEDIA_TYPE_SUBTITLE
);
break
;
...
...
@@ -3498,6 +3503,7 @@ void show_help_default(const char *opt, const char *arg)
"a cycle audio channel
\n
"
"v cycle video channel
\n
"
"t cycle subtitle channel
\n
"
"c cycle program
\n
"
"w show audio waves
\n
"
"s activate frame-step mode
\n
"
"left/right seek backward/forward 10 seconds
\n
"
...
...
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