[libcamera-devel,0/2] cam: Miscellaneous fixes for the SDL sink
mbox series

Message ID 20220808155605.7925-1-laurent.pinchart@ideasonboard.com
Headers show
Series
  • cam: Miscellaneous fixes for the SDL sink
Related show

Message

Laurent Pinchart Aug. 8, 2022, 3:56 p.m. UTC
Hello,

This patch series fixes two issues with the SDL sink in cam. The first
one, addressed by 1/2, is a compilation breakage against SDL versions
older than 2.0.16 that don't have NV12 texture support. The second one,
in 2/2, is a small cleanup to maintain consistent variable naming.

Laurent Pinchart (2):
  cam: sdl_sink: Fix compilation with SDL2 <2.0.16
  cam: sdl_texture: Renaming 'pitch' to 'stride'

 src/cam/sdl_sink.cpp         | 2 ++
 src/cam/sdl_texture.cpp      | 4 ++--
 src/cam/sdl_texture.h        | 4 ++--
 src/cam/sdl_texture_mjpg.cpp | 6 +++---
 src/cam/sdl_texture_yuv.cpp  | 8 +++++---
 src/cam/sdl_texture_yuv.h    | 2 ++
 6 files changed, 16 insertions(+), 10 deletions(-)


base-commit: 7b8df9fe6b3eedc46667d07ad2c90c89ca823e0c