[vlc-commits] [Git][videolan/vlc][master] vout: spu: fix paint-on captions regression

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Mar 22 08:29:24 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
4cdfdd21 by François Cartegnie at 2024-03-22T08:11:18+00:00
vout: spu: fix paint-on captions regression

- - - - -


1 changed file:

- src/video_output/vout_subpictures.c


Changes:

=====================================
src/video_output/vout_subpictures.c
=====================================
@@ -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)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4cdfdd217d463a07967c78721d1a6024092658dc

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4cdfdd217d463a07967c78721d1a6024092658dc
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list