From 4723ef777da29b7786e9e9d703571fd1326b5110 Mon Sep 17 00:00:00 2001 From: Rintaro Kuroiwa Date: Mon, 6 Jan 2014 12:00:14 -0800 Subject: [PATCH] Add container type to MediaInfo proto Change-Id: Ife22c7d8641af3847be3da9bf6e96146d72749f0 --- mpd/base/media_info.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mpd/base/media_info.proto b/mpd/base/media_info.proto index 1ed90cd6ed..3a7075b7a9 100644 --- a/mpd/base/media_info.proto +++ b/mpd/base/media_info.proto @@ -13,6 +13,13 @@ message Range { } message MediaInfo { + enum ContainerType { + CONTAINER_UNKNOWN = 0; + CONTAINER_MP4 = 1; + CONTAINER_MPEG2_TS= 2; + CONTAINER_WEBM = 3; + } + message VideoInfo { optional string codec = 1; optional uint32 width = 2; @@ -64,6 +71,7 @@ message MediaInfo { // This is the reference time scale if there are multiple VideoInfo and/or // AudioInfo. optional uint32 reference_time_scale = 13; + optional ContainerType container_type = 14 [default = CONTAINER_UNKNOWN]; // VOD only. optional Range init_range = 6;