[vlc-devel] [PATCH 0/7] remove vout_Reset() hack

Thomas Guillem thomas at gllm.fr
Wed Jan 11 09:13:07 CET 2017


This set of patches aim to resolve issues reported here
https://mailman.videolan.org/pipermail/vlc-devel/2017-January/111095.html

vout_Reset() is no longer needed since most of our decoders don't leak anymore
(see patches 05, 06, and 07). But vout_Reset() was also helpful to notify with
an error message if decoders were leaking pictures. This set of patches try to
replace this feature (see patches 01, 02, 04).

Regards,
Thomas

Thomas Guillem (7):
  picture_pool: move internal functions
  picture_pool: add private functions to inc/dec the ref count
  vout: ensure that the private_pool is always created
  vout: check for pools leaks
  vout: reset pause state from ThreadReinit()
  vout: remove vout_Reset()
  vout: remove picture_pool_Reset()

 include/vlc_picture_pool.h      | 21 --------------
 src/Makefile.am                 |  1 +
 src/input/decoder.c             |  4 ---
 src/misc/picture_pool.c         | 31 +++++++++------------
 src/misc/picture_pool.h         | 41 +++++++++++++++++++++++++++
 src/video_output/video_output.c | 62 +++++++++++++++++------------------------
 src/video_output/vout_control.h |  5 ----
 src/video_output/vout_wrapper.c | 18 ++++++++++--
 8 files changed, 95 insertions(+), 88 deletions(-)
 create mode 100644 src/misc/picture_pool.h

-- 
2.11.0



More information about the vlc-devel mailing list