[vlc-devel] [PATCH 0/4] picture_chain_GetAndClear

Steve Lhomme robux4 at ycbcr.xyz
Fri Sep 25 16:41:57 CEST 2020


This patchset sits on top of the picture_chain patchset sent on 2020-09-24.

It adds a clearer vlc_picture_chain_GetAndClear function to spot code getting
a whole picture chain and resetting it right after before using elements in the
copy.

Steve Lhomme (4):
  picture_chain: add vlc_picture_chain_GetAndClear
  transcode: use vlc_picture_chain_GetAndClear
  picture_fifo: use vlc_picture_chain_GetAndClear
  picture_fifo: don't check each picture dates if we need to flush all
    pictures

 include/vlc_picture.h                | 14 +++++++++++
 modules/stream_out/transcode/video.c |  4 ++--
 src/misc/picture_fifo.c              | 35 +++++++++++++++-------------
 3 files changed, 35 insertions(+), 18 deletions(-)

-- 
2.26.2



More information about the vlc-devel mailing list