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
c5eab4bb
Commit
c5eab4bb
authored
Jan 19, 2013
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffplay: move up pause functions
No change in functionality. Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
5de3f724
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
ffplay.c
ffplay.c
+14
-14
No files found.
ffplay.c
View file @
c5eab4bb
...
...
@@ -1220,6 +1220,20 @@ static void stream_toggle_pause(VideoState *is)
is
->
paused
=
!
is
->
paused
;
}
static
void
toggle_pause
(
VideoState
*
is
)
{
stream_toggle_pause
(
is
);
is
->
step
=
0
;
}
static
void
step_to_next_frame
(
VideoState
*
is
)
{
/* if the stream is paused unpause it, then step */
if
(
is
->
paused
)
stream_toggle_pause
(
is
);
is
->
step
=
1
;
}
static
double
compute_target_delay
(
double
delay
,
VideoState
*
is
)
{
double
sync_threshold
,
diff
;
...
...
@@ -2925,20 +2939,6 @@ static void toggle_full_screen(VideoState *is)
video_open
(
is
,
1
,
NULL
);
}
static
void
toggle_pause
(
VideoState
*
is
)
{
stream_toggle_pause
(
is
);
is
->
step
=
0
;
}
static
void
step_to_next_frame
(
VideoState
*
is
)
{
/* if the stream is paused unpause it, then step */
if
(
is
->
paused
)
stream_toggle_pause
(
is
);
is
->
step
=
1
;
}
static
void
toggle_audio_display
(
VideoState
*
is
)
{
int
bgcolor
=
SDL_MapRGB
(
screen
->
format
,
0x00
,
0x00
,
0x00
);
...
...
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