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
b685d614
Commit
b685d614
authored
Oct 15, 2020
by
Steve Lhomme
Browse files
filters: drain filter chains after the regular picture filtering
parent
bd9c8829
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/stream_out/mosaic_bridge.c
View file @
b685d614
...
...
@@ -597,13 +597,13 @@ static void decoder_queue_video( decoder_t *p_dec, picture_t *p_pic )
if
(
p_sys
->
p_vf2
)
{
/* push the picture in the mosaic-struct structure */
p_new_pic
=
filter_chain_Video
Filter
(
p_sys
->
p_vf2
,
NULL
);
p_new_pic
=
filter_chain_Video
Drain
(
p_sys
->
p_vf2
);
while
(
p_new_pic
!=
NULL
)
{
vlc_global_lock
(
VLC_MOSAIC_MUTEX
);
vlc_picture_chain_Append
(
&
p_es
->
pictures
,
p_new_pic
);
vlc_global_unlock
(
VLC_MOSAIC_MUTEX
);
p_new_pic
=
filter_chain_Video
Filter
(
p_sys
->
p_vf2
,
NULL
);
p_new_pic
=
filter_chain_Video
Drain
(
p_sys
->
p_vf2
);
}
}
}
...
...
modules/stream_out/sdi/SDIStream.cpp
View file @
b685d614
...
...
@@ -589,11 +589,11 @@ void VideoDecodedStream::Output(picture_t *p_pic)
outputbuffer
->
Enqueue
(
p_pic
);
if
(
p_filters_chain
)
{
p_pic
=
filter_chain_Video
Filter
(
p_filters_chain
,
NULL
);
p_pic
=
filter_chain_Video
Drain
(
p_filters_chain
);
while
(
p_pic
)
{
outputbuffer
->
Enqueue
(
p_pic
);
p_pic
=
filter_chain_Video
Filter
(
p_filters_chain
,
NULL
);
p_pic
=
filter_chain_Video
Drain
(
p_filters_chain
);
}
}
}
...
...
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