It assumed that the first element is Period but it could be a BaseURL
which caused a DCHECK crash.
Change-Id: I75bdafdd312bfbcdf81cc76b44f8e2d0f1542976
The order affects the output. Even though XML does not care about the
order of subelements, it makes more sense for BaseURL element to appear
above SegmentBase.
Change-Id: Idd1e73446be84640828358ef4d7a74688428f6b5
Added functions to add MediaInfo::ContentProtectionXml to
RepresentationBaseXmlNode. This allows adding ContentProtection elements
using MediaInfo protobuf.
Change-Id: I46aa97ba8cbf1548388ebbb61ac163786dfa0be8
TextFormat class methods that output human readable messsages need
Message instance where LITE uses MessageLite.
Change-Id: I4ff14aa9334acdad608f0b02c81d9cb765e70a60
Work on some TODOs.
Mandatory mimeType field was missing from Representation.
All duration in the MPD is now float.
Change-Id: I85b8511bc1c43759d80f831bee371c398895cf39
Because we need to have all meta info in the MediaInfo protobuf, we need
full 'ContentProtection' element.
Change-Id: I714ff5b8d7baa2ae0d169a59005210a63da315b5
Presentation time format is PT<number>S.
All seconds to XML duration uses SecondToXmlDuration now.
Change-Id: I3afcda9820fc968b35cfb929e0c7de4e2d91f9a2