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
2146f492
Commit
2146f492
authored
May 27, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_crop: Replace #ifdef DEBUG + av_log() by av_dlog().
parent
798b2646
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
vf_crop.c
libavfilter/vf_crop.c
+3
-5
No files found.
libavfilter/vf_crop.c
View file @
2146f492
...
...
@@ -264,11 +264,9 @@ static void start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
crop
->
x
&=
~
((
1
<<
crop
->
hsub
)
-
1
);
crop
->
y
&=
~
((
1
<<
crop
->
vsub
)
-
1
);
#ifdef DEBUG
av_log
(
ctx
,
AV_LOG_DEBUG
,
"n:%d t:%f x:%d y:%d x+w:%d y+h:%d
\n
"
,
(
int
)
crop
->
var_values
[
VAR_N
],
crop
->
var_values
[
VAR_T
],
crop
->
x
,
crop
->
y
,
crop
->
x
+
crop
->
w
,
crop
->
y
+
crop
->
h
);
#endif
av_dlog
(
ctx
,
"n:%d t:%f x:%d y:%d x+w:%d y+h:%d
\n
"
,
(
int
)
crop
->
var_values
[
VAR_N
],
crop
->
var_values
[
VAR_T
],
crop
->
x
,
crop
->
y
,
crop
->
x
+
crop
->
w
,
crop
->
y
+
crop
->
h
);
ref2
->
data
[
0
]
+=
crop
->
y
*
ref2
->
linesize
[
0
];
ref2
->
data
[
0
]
+=
crop
->
x
*
crop
->
max_step
[
0
];
...
...
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