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
99d9bf5e
Commit
99d9bf5e
authored
Oct 19, 2020
by
Steve Lhomme
Browse files
sout: sdi: fully drain the video filter when the input source changes
parent
29bc5aa2
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/stream_out/sdi/SDIStream.cpp
View file @
99d9bf5e
...
...
@@ -573,7 +573,16 @@ void VideoDecodedStream::Output(picture_t *p_pic)
(
char
*
)
&
p_owner
->
decoder_out
.
i_codec
);
if
(
p_filters_chain
)
{
for
(;;)
{
picture_t
*
drained
=
filter_chain_VideoDrain
(
p_filters_chain
,
true
);
if
(
drained
==
NULL
)
break
;
outputbuffer
->
Enqueue
(
drained
);
}
filter_chain_Delete
(
p_filters_chain
);
}
p_filters_chain
=
VideoFilterCreate
(
&
p_owner
->
decoder_out
,
picture_GetVideoContext
(
p_pic
));
if
(
!
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