Commit ae3a0e22 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

sout: sdi: drain potential attached pictures coming out of filters

parent b709563c
......@@ -587,6 +587,15 @@ void VideoDecodedStream::Output(picture_t *p_pic)
p_pic = filter_chain_VideoFilter(p_filters_chain, p_pic);
if(p_pic)
outputbuffer->Enqueue(p_pic);
if(p_filters_chain)
{
p_pic = filter_chain_VideoFilter(p_filters_chain, NULL);
while (p_pic)
{
outputbuffer->Enqueue(p_pic);
p_pic = filter_chain_VideoFilter(p_filters_chain, NULL);
}
}
}
void VideoDecodedStream::QueueCC(block_t *p_block)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment