get_media_devices: Fix a small typo at alsa hw descriptors
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 23 May 2011 13:07:12 +0000 (10:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 23 May 2011 13:07:12 +0000 (10:07 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
utils/libv4l2util/get_media_devices.c

index 55c4ac6..98c788a 100644 (file)
@@ -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
+}