From f4c780755421bac870dc32e4c30005d60155b7e7 Mon Sep 17 00:00:00 2001 From: Rintaro Kuroiwa Date: Tue, 14 Jan 2014 14:56:06 -0800 Subject: [PATCH] Add 'name' field to Element protobuf message Change-Id: I527433d6cee2c4e0deb2f243f623f40e29ba8c21 --- mpd/base/media_info.proto | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mpd/base/media_info.proto b/mpd/base/media_info.proto index 3a7075b7a9..5ab1d21b4b 100644 --- a/mpd/base/media_info.proto +++ b/mpd/base/media_info.proto @@ -52,10 +52,14 @@ message MediaInfo { } message Element { - repeated AttributeNameValuePair attributes = 1; - repeated Element subelements = 2; + optional string name = 1; + repeated AttributeNameValuePair attributes = 2; + repeated Element subelements = 3; } + // These two string fields are specified by the MPD spec. Just for + // clarification, the string set in |value| is the rhs of 'value' field in + // . optional string scheme_id_uri = 1; optional string value = 2; repeated AttributeNameValuePair attributes = 3;