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
f89f9bda
Commit
f89f9bda
authored
Feb 09, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/ashowinfo: only print checksum for the existing planes
Make the output a bit nicer.
parent
1e6408a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
af_ashowinfo.c
libavfilter/af_ashowinfo.c
+6
-4
No files found.
libavfilter/af_ashowinfo.c
View file @
f89f9bda
...
...
@@ -66,7 +66,7 @@ static void filter_samples(AVFilterLink *inlink, AVFilterBufferRef *samplesref)
av_log
(
ctx
,
AV_LOG_INFO
,
"n:%d pts:%s pts_time:%s pos:%"
PRId64
" "
"fmt:%s chlayout:%s nb_samples:%d rate:%d planar:%d "
"checksum:%08X plane_checksum[%08X
%08X %08X %08X %08X %08X %08X %08X]
\n
"
,
"checksum:%08X plane_checksum[%08X"
,
showinfo
->
frame
,
av_ts2str
(
samplesref
->
pts
),
av_ts2timestr
(
samplesref
->
pts
,
&
inlink
->
time_base
),
samplesref
->
pos
,
...
...
@@ -76,11 +76,13 @@ static void filter_samples(AVFilterLink *inlink, AVFilterBufferRef *samplesref)
samplesref
->
audio
->
sample_rate
,
samplesref
->
audio
->
planar
,
checksum
,
plane_checksum
[
0
],
plane_checksum
[
1
],
plane_checksum
[
2
],
plane_checksum
[
3
],
plane_checksum
[
4
],
plane_checksum
[
5
],
plane_checksum
[
6
],
plane_checksum
[
7
]);
plane_checksum
[
0
]);
showinfo
->
frame
++
;
for
(
plane
=
1
;
samplesref
->
data
[
plane
]
&&
plane
<
8
;
plane
++
)
av_log
(
ctx
,
AV_LOG_INFO
,
" %08X"
,
plane_checksum
[
plane
]);
av_log
(
ctx
,
AV_LOG_INFO
,
"]
\n
"
);
showinfo
->
frame
++
;
avfilter_filter_samples
(
inlink
->
dst
->
outputs
[
0
],
samplesref
);
}
...
...
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