Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
3b29ef4c
Commit
3b29ef4c
authored
Oct 13, 2020
by
Steve Lhomme
Browse files
filter_chain: add a function to do only filtering
parent
06c55f74
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/filter_chain.c
View file @
3b29ef4c
...
...
@@ -444,6 +444,17 @@ static picture_t *FilterChainVideoFilter( chained_filter_t *f, picture_t *p_pic
return
p_pic
;
}
static
picture_t
*
filter_chained
(
chained_filter_t
*
f
,
picture_t
*
p_pic
)
{
for
(
;
f
!=
NULL
;
f
=
f
->
next
)
{
p_pic
=
f
->
filter
.
ops
->
filter_video
(
&
f
->
filter
,
p_pic
);
if
(
unlikely
(
!
p_pic
)
)
break
;
}
return
p_pic
;
}
picture_t
*
filter_chain_VideoFilter
(
filter_chain_t
*
p_chain
,
picture_t
*
p_pic
)
{
if
(
p_pic
)
...
...
Write
Preview
Supports
Markdown
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