get_media_devices: return alsa hw as expected by alsa utilities
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 23 May 2011 09:10:14 +0000 (06:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 23 May 2011 09:10:14 +0000 (06:10 -0300)
commitce8cd9d3192995f7cacc4532e0a86ca82d14dd5a
tree545129ea5167930e059f051d8841482b5d9f8726
parenta88559df7e779877ac5fb11dff22d6ee1504dce7
get_media_devices: return alsa hw as expected by alsa utilities

Instead of using the internal HWC?D? representation, convert alsa hw type
into hw:?.?. This makes easier for other utils to use it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
utils/libv4l2util/get_media_devices.c