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
d9f26a0d
Commit
d9f26a0d
authored
Mar 17, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/crop: show input and output sample aspect ratio in the log
parent
e55ecbc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
vf_crop.c
libavfilter/vf_crop.c
+3
-2
No files found.
libavfilter/vf_crop.c
View file @
d9f26a0d
...
@@ -221,8 +221,9 @@ static int config_input(AVFilterLink *link)
...
@@ -221,8 +221,9 @@ static int config_input(AVFilterLink *link)
}
else
}
else
crop
->
out_sar
=
link
->
sample_aspect_ratio
;
crop
->
out_sar
=
link
->
sample_aspect_ratio
;
av_log
(
ctx
,
AV_LOG_INFO
,
"w:%d h:%d -> w:%d h:%d
\n
"
,
av_log
(
ctx
,
AV_LOG_INFO
,
"w:%d h:%d sar:%d/%d -> w:%d h:%d sar:%d/%d
\n
"
,
link
->
w
,
link
->
h
,
crop
->
w
,
crop
->
h
);
link
->
w
,
link
->
h
,
link
->
sample_aspect_ratio
.
num
,
link
->
sample_aspect_ratio
.
den
,
crop
->
w
,
crop
->
h
,
crop
->
out_sar
.
num
,
crop
->
out_sar
.
den
);
if
(
crop
->
w
<=
0
||
crop
->
h
<=
0
||
if
(
crop
->
w
<=
0
||
crop
->
h
<=
0
||
crop
->
w
>
link
->
w
||
crop
->
h
>
link
->
h
)
{
crop
->
w
>
link
->
w
||
crop
->
h
>
link
->
h
)
{
...
...
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