Add container type to MediaInfo proto

Change-Id: Ife22c7d8641af3847be3da9bf6e96146d72749f0
This commit is contained in:
Rintaro Kuroiwa 2014-01-06 12:00:14 -08:00
parent e7472c4247
commit 4723ef777d
1 changed files with 8 additions and 0 deletions

View File

@ -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;