diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-05-13 21:15:18 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-05-13 21:16:31 +0300 |
commit | 005ab78f9748bd503ad9b3f2f38caf8d43c9ed46 (patch) | |
tree | dad1e5d142a81995502aba128741a6918d26f638 /yavta.c | |
parent | 0a979e390ed828a85d26f6b311b4ab14ca681882 (diff) |
Print driver name when querying capabilities
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'yavta.c')
-rw-r--r-- | yavta.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -383,8 +383,8 @@ static int video_querycap(struct device *dev, unsigned int *capabilities) caps = cap.capabilities & V4L2_CAP_DEVICE_CAPS ? cap.device_caps : cap.capabilities; - printf("Device `%s' on `%s' is a video %s (%s mplanes) device.\n", - cap.card, cap.bus_info, + printf("Device `%s' on `%s' (driver '%s') is a video %s (%s mplanes) device.\n", + cap.card, cap.bus_info, cap.driver, caps & (V4L2_CAP_VIDEO_CAPTURE_MPLANE | V4L2_CAP_VIDEO_CAPTURE) ? "capture" : "output", caps & (V4L2_CAP_VIDEO_CAPTURE_MPLANE | V4L2_CAP_VIDEO_OUTPUT_MPLANE) ? "with" : "without"); |