Skip to content
Snippets Groups Projects

decoder: lock ModuleThread_PlaySpu()

Merged Thomas Guillem requested to merge tguillem/vlc:decoder-lock-spu into master
  1. Mar 14, 2024
    • Thomas Guillem's avatar
      decoder: lock ModuleThread_PlaySpu() · 7a5815af
      Thomas Guillem authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      ModuleThread_PlayAudio() and ModuleThread_PlayVideo() are called with
      the lock held. There is no reason to not hold it for Spu. This avoid an
      useless Lock() + Unlock().
      
      vout_PutSubpicture() will now be called with the lock held.
      7a5815af
Loading