From c7ef3b59831ae5da3804d0a0a8ae321c7dce4246 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Mon, 23 May 2011 10:07:12 -0300 Subject: [PATCH] get_media_devices: Fix a small typo at alsa hw descriptors Signed-off-by: Mauro Carvalho Chehab --- utils/libv4l2util/get_media_devices.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/libv4l2util/get_media_devices.c b/utils/libv4l2util/get_media_devices.c index 55c4ac6..98c788a 100644 --- a/utils/libv4l2util/get_media_devices.c +++ b/utils/libv4l2util/get_media_devices.c @@ -177,7 +177,7 @@ static int add_snd_class(struct media_devices *md) return 0; } - if (asprintf(&new, "hw:%u.%u", c, d) > 0) { + if (asprintf(&new, "hw:%u,%u", c, d) > 0) { free(md->node); md->node = new; } @@ -324,4 +324,4 @@ char *get_first_no_video_out_device(struct media_devices *md, unsigned int size) } return NULL; -} \ No newline at end of file +} -- 2.7.4