[v4l-utils] [PATCH v1 0/3] media-ctl: Add support for subdev TRY state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

This small patch series extends media-ctl to support subdev TRY states.
Doing so allows retrieving the default state of subdevs, or trying
configurations.

The approach is quite straightforward: patch 1/3 replaces the hardcoded
ACTIVE state in libv4l2subdev with a 'which' argument, patch 2/3 does
the same for the internal functions of media-ctl, and patch 3/3 adds a
-W/--which argument to media-ctl. When the argument is not set, the
ACTIVE state is selected, preserving the existing behaviour.

Laurent Pinchart (3):
  libv4l2subdev: Extend API with 'which' argument where missing
  utils: media-ctl: Prepare for TRY state support
  utils: media-ctl: Support accessing the subdev TRY state

 utils/media-ctl/libv4l2subdev.c | 65 +++++++++++++++++++++------------
 utils/media-ctl/media-ctl.c     | 37 +++++++++++--------
 utils/media-ctl/options.c       | 18 ++++++++-
 utils/media-ctl/options.h       |  1 +
 utils/media-ctl/v4l2subdev.h    | 49 ++++++++++++++++++++++---
 5 files changed, 123 insertions(+), 47 deletions(-)


base-commit: f4cf30a8b50f54210e181ecadbffaee4ce088e5e
-- 
Regards,

Laurent Pinchart





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux