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
d6c231ba
Commit
d6c231ba
authored
Oct 08, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: cosmetic renamings to reduce difference to qatar.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
0732dcee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ffmpeg.c
ffmpeg.c
+4
-4
No files found.
ffmpeg.c
View file @
d6c231ba
...
...
@@ -146,7 +146,7 @@ static int audio_volume = 256;
static
int
exit_on_error
=
0
;
static
int
using_stdin
=
0
;
static
int
run_as_daemon
=
0
;
static
volatile
int
q_pressed
=
0
;
static
volatile
int
received_nb_signals
=
0
;
static
int64_t
video_size
=
0
;
static
int64_t
audio_size
=
0
;
static
int64_t
extra_size
=
0
;
...
...
@@ -520,7 +520,7 @@ static volatile int received_sigterm = 0;
static
void
sigterm_handler
(
int
sig
)
{
received_sigterm
=
sig
;
q_pressed
++
;
received_nb_signals
++
;
term_exit
();
}
...
...
@@ -626,7 +626,7 @@ static int read_yn(void)
static
int
decode_interrupt_cb
(
void
)
{
return
q_pressed
>
1
;
return
received_nb_signals
>
1
;
}
void
exit_program
(
int
ret
)
...
...
@@ -2449,7 +2449,7 @@ static int transcode(OutputFile *output_files, int nb_output_files,
opts_min
=
1e100
;
/* if 'q' pressed, exits */
if
(
!
using_stdin
)
{
if
(
q_pressed
)
if
(
received_nb_signals
)
break
;
/* read_key() returns 0 on EOF */
key
=
read_key
();
...
...
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