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
c4367f95
Commit
c4367f95
authored
Apr 03, 2015
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix codec fps diplay for very small fps.
Fixes codec banner for the sample from ticket #4369.
parent
036079ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
dump.c
libavformat/dump.c
+3
-1
No files found.
libavformat/dump.c
View file @
c4367f95
...
...
@@ -118,7 +118,9 @@ void av_pkt_dump_log2(void *avcl, int level, const AVPacket *pkt, int dump_paylo
static
void
print_fps
(
double
d
,
const
char
*
postfix
)
{
uint64_t
v
=
lrintf
(
d
*
100
);
if
(
v
%
100
)
if
(
!
v
)
av_log
(
NULL
,
AV_LOG_INFO
,
"%1.4f %s"
,
d
,
postfix
);
else
if
(
v
%
100
)
av_log
(
NULL
,
AV_LOG_INFO
,
"%3.2f %s"
,
d
,
postfix
);
else
if
(
v
%
(
100
*
1000
))
av_log
(
NULL
,
AV_LOG_INFO
,
"%1.0f %s"
,
d
,
postfix
);
...
...
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