[vlc-devel] [PATCH 0/10] Simplify / clean up video output crop

Rémi Denis-Courmont remi at remlab.net
Sat Feb 6 16:26:59 UTC 2021


	Hi,

This simplifies handling of display crop configuration and also tries
to make errors less likely. This does *not* fix outstanding crop bugs.

----------------------------------------------------------------
Rémi Denis-Courmont (10):
      vout: define crop configuration as a type
      vout: parse crop string into dedicated structure
      vout: merge all three vout_ChangeCrop*()
      vout: merge all three vout_SetCrop*() functions
      vout: use struct vout_crop for vout_SetDisplayCrop()
      vout: handle crop=0:0 case in parser
      vout: remove no-op assignments
      vout: don't clobber crop borders when updating
      vout: add vout_CropEqual() helper
      vout: use struct vout_crop in display

 src/video_output/display.c       |  98 +++++++++-------------
 src/video_output/video_output.c  | 170 +++------------------------------------
 src/video_output/vout_internal.h |  52 ++++++++++--
 src/video_output/vout_intf.c     |  52 +++++-------
 src/video_output/vout_wrapper.h  |   4 +-
 5 files changed, 114 insertions(+), 262 deletions(-)

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list