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
2ff7af56
Commit
2ff7af56
authored
Jan 24, 2019
by
Kieran Kunhya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_showinfo: Fix timecode display
parent
6e0b5d3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vf_showinfo.c
libavfilter/vf_showinfo.c
+2
-2
No files found.
libavfilter/vf_showinfo.c
View file @
2ff7af56
...
...
@@ -232,10 +232,10 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
break
;
case
AV_FRAME_DATA_S12M_TIMECODE
:
{
uint32_t
*
tc
=
(
uint32_t
*
)
sd
->
data
;
for
(
int
j
=
1
;
j
<
tc
[
0
];
j
++
)
{
for
(
int
j
=
1
;
j
<
=
tc
[
0
];
j
++
)
{
char
tcbuf
[
AV_TIMECODE_STR_SIZE
];
av_timecode_make_smpte_tc_string
(
tcbuf
,
tc
[
j
],
0
);
av_log
(
ctx
,
AV_LOG_INFO
,
"timecode - %s%s"
,
tcbuf
,
j
!=
tc
[
0
]
-
1
?
", "
:
""
);
av_log
(
ctx
,
AV_LOG_INFO
,
"timecode - %s%s"
,
tcbuf
,
j
!=
tc
[
0
]
?
", "
:
""
);
}
break
;
}
...
...
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