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
58e90259
Commit
58e90259
authored
Sep 24, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffprobe: reindent after previous commit
parent
4b370d61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
ffprobe.c
ffprobe.c
+10
-10
No files found.
ffprobe.c
View file @
58e90259
...
...
@@ -353,16 +353,16 @@ static void writer_print_time(WriterContext *wctx, const char *key,
{
char
buf
[
128
];
if
((
!
is_duration
&&
ts
==
AV_NOPTS_VALUE
)
||
(
is_duration
&&
ts
==
0
))
{
writer_print_string
(
wctx
,
key
,
"N/A"
,
1
);
}
else
{
double
d
=
ts
*
av_q2d
(
*
time_base
);
struct
unit_value
uv
;
uv
.
val
.
d
=
d
;
uv
.
unit
=
unit_second_str
;
value_string
(
buf
,
sizeof
(
buf
),
uv
);
writer_print_string
(
wctx
,
key
,
buf
,
0
);
}
if
((
!
is_duration
&&
ts
==
AV_NOPTS_VALUE
)
||
(
is_duration
&&
ts
==
0
))
{
writer_print_string
(
wctx
,
key
,
"N/A"
,
1
);
}
else
{
double
d
=
ts
*
av_q2d
(
*
time_base
);
struct
unit_value
uv
;
uv
.
val
.
d
=
d
;
uv
.
unit
=
unit_second_str
;
value_string
(
buf
,
sizeof
(
buf
),
uv
);
writer_print_string
(
wctx
,
key
,
buf
,
0
);
}
}
static
void
writer_print_ts
(
WriterContext
*
wctx
,
const
char
*
key
,
int64_t
ts
,
int
is_duration
)
...
...
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