Skip to content
Snippets Groups Projects
Commit 4cdfdd21 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed: Committed by Steve Lhomme
Browse files

vout: spu: fix paint-on captions regression

parent efb169a3
No related branches found
No related tags found
1 merge request!5110vout: spu: fix paint-on captions regression
Pipeline #451179 passed with stage
in 23 minutes and 27 seconds
......@@ -203,9 +203,10 @@ static void spu_channel_EarlyRemoveLate(spu_private_t *sys,
for (size_t i = 0; i < channel->entries.size - 1; i++)
{
const spu_render_entry_t *entry = &channel->entries.data[i];
if(spu_HasAlreadyExpired(entry->start, entry->stop, system_now))
if(!entry->subpic->b_ephemer &&
spu_HasAlreadyExpired(entry->start, entry->stop, system_now))
continue;
if(minactivespu <= entry->start)
if(minactivespu >= entry->start)
{
minactivespu = entry->start;
if(minactivespuorder > entry->subpic->i_order)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment