diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-05-13 22:08:29 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-05-13 22:08:29 -0700 |
commit | 53a4f2a82a8f9472754a5e35b82a2a9f04792b62 (patch) | |
tree | 24d562a77801d816264567ba37f4e41127c4a56f /tools/avinfo.c | |
parent | 8b1b5b1b3f37cbb68172872ac85633571586b726 (diff) | |
download | bluez-53a4f2a82a8f9472754a5e35b82a2a9f04792b62.tar.gz |
tools: Print codec name for MPEG24 capability type
Diffstat (limited to 'tools/avinfo.c')
-rw-r--r-- | tools/avinfo.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/avinfo.c b/tools/avinfo.c index d237742f8..a4deaac13 100644 --- a/tools/avinfo.c +++ b/tools/avinfo.c @@ -170,6 +170,10 @@ static void print_vendor(a2dp_vendor_codec_t *vendor) vendor->codec_id[0], vendor->codec_id[1]); } +static void print_mpeg24(a2dp_mpeg_t *mpeg) +{ + printf("\tMedia Codec: MPEG24\n"); +} static void print_mpeg12(a2dp_mpeg_t *mpeg) { @@ -304,6 +308,9 @@ static void print_media_codec(struct avdtp_media_codec_capability *cap) case A2DP_CODEC_MPEG12: print_mpeg12((void *) cap->data); break; + case A2DP_CODEC_MPEG24: + print_mpeg24((void *) cap->data); + break; case A2DP_CODEC_VENDOR: print_vendor((void *) cap->data); break; |