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
f102a4ef
Commit
f102a4ef
authored
Sep 27, 2017
by
Tobias Rapp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/f_metadata: avoid trailing whitespace in filter output
Signed-off-by:
Tobias Rapp
<
t.rapp@noa-archive.com
>
parent
0e56321a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
f_metadata.c
libavfilter/f_metadata.c
+2
-2
No files found.
libavfilter/f_metadata.c
View file @
f102a4ef
...
...
@@ -314,14 +314,14 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
break
;
case
METADATA_PRINT
:
if
(
!
s
->
key
&&
e
)
{
s
->
print
(
ctx
,
"frame:%-4"
PRId64
" pts:%-7s pts_time:%
-7
s
\n
"
,
s
->
print
(
ctx
,
"frame:%-4"
PRId64
" pts:%-7s pts_time:%s
\n
"
,
inlink
->
frame_count_out
,
av_ts2str
(
frame
->
pts
),
av_ts2timestr
(
frame
->
pts
,
&
inlink
->
time_base
));
s
->
print
(
ctx
,
"%s=%s
\n
"
,
e
->
key
,
e
->
value
);
while
((
e
=
av_dict_get
(
*
metadata
,
""
,
e
,
AV_DICT_IGNORE_SUFFIX
))
!=
NULL
)
{
s
->
print
(
ctx
,
"%s=%s
\n
"
,
e
->
key
,
e
->
value
);
}
}
else
if
(
e
&&
e
->
value
&&
(
!
s
->
value
||
(
e
->
value
&&
s
->
compare
(
s
,
e
->
value
,
s
->
value
))))
{
s
->
print
(
ctx
,
"frame:%-4"
PRId64
" pts:%-7s pts_time:%
-7
s
\n
"
,
s
->
print
(
ctx
,
"frame:%-4"
PRId64
" pts:%-7s pts_time:%s
\n
"
,
inlink
->
frame_count_out
,
av_ts2str
(
frame
->
pts
),
av_ts2timestr
(
frame
->
pts
,
&
inlink
->
time_base
));
s
->
print
(
ctx
,
"%s=%s
\n
"
,
s
->
key
,
e
->
value
);
}
...
...
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