[vlc-devel] [PATCH v2 0/4] get rid of displayed.next in video output

Steve Lhomme robux4 at ycbcr.xyz
Tue Nov 17 15:35:31 CET 2020


This patchset removes the need for displayed.next by polling for a more up to
date picture to render when the current is too late.

Changes since v1
- add a patch before to fix potential double displayed.current release
- the frame by frame patch is reusing a older patches that returns an error
  if a new picture is not found. So picture.current should not be released in
  that case.
- the first picture can be dropped if a more up to date picture is available
  it will still be forced displayed as it's the first one.
- mention the is_late_dropped support in the commit log

Steve Lhomme (4):
  video_output: avoid potential double release of displayed.current
  video_output: rework the decision to use the next picture to display
  video_output: keep the displayed.current in frame by frame if next is
    not ready
  video_output: remove always NULL displayed.next

 src/video_output/video_output.c | 85 ++++++++++++++++++---------------
 1 file changed, 47 insertions(+), 38 deletions(-)

-- 
2.26.2



More information about the vlc-devel mailing list