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
b91093a4
Commit
b91093a4
authored
Jan 27, 2016
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: replace "flush Media" with "flush_media" in benchmark_all output
Simplify parsing and consistency.
parent
e74378aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ffmpeg.c
ffmpeg.c
+3
-3
No files found.
ffmpeg.c
View file @
b91093a4
...
...
@@ -1711,11 +1711,11 @@ static void flush_encoders(void)
switch
(
enc
->
codec_type
)
{
case
AVMEDIA_TYPE_AUDIO
:
encode
=
avcodec_encode_audio2
;
desc
=
"
A
udio"
;
desc
=
"
a
udio"
;
break
;
case
AVMEDIA_TYPE_VIDEO
:
encode
=
avcodec_encode_video2
;
desc
=
"
V
ideo"
;
desc
=
"
v
ideo"
;
break
;
default:
stop_encoding
=
1
;
...
...
@@ -1731,7 +1731,7 @@ static void flush_encoders(void)
update_benchmark
(
NULL
);
ret
=
encode
(
enc
,
&
pkt
,
NULL
,
&
got_packet
);
update_benchmark
(
"flush
%s %d.%d"
,
desc
,
ost
->
file_index
,
ost
->
index
);
update_benchmark
(
"flush
_
%s %d.%d"
,
desc
,
ost
->
file_index
,
ost
->
index
);
if
(
ret
<
0
)
{
av_log
(
NULL
,
AV_LOG_FATAL
,
"%s encoding failed: %s
\n
"
,
desc
,
...
...
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