Index: webrtc/modules/interface/module_common_types.h |
diff --git a/webrtc/modules/interface/module_common_types.h b/webrtc/modules/interface/module_common_types.h |
index b500962cec9e9908cb5b93b11a2bbe344e01e173..c8205ee60bb7a8ed33bc80a4cc182fc2feabf99a 100644 |
--- a/webrtc/modules/interface/module_common_types.h |
+++ b/webrtc/modules/interface/module_common_types.h |
@@ -160,6 +160,7 @@ struct RTPVideoHeaderVP9 { |
inter_layer_predicted = false; |
gof_idx = kNoGofIdx; |
num_ref_pics = 0; |
+ num_spatial_layers = 1; |
} |
bool inter_pic_predicted; // This layer frame is dependent on previously |
@@ -191,7 +192,7 @@ struct RTPVideoHeaderVP9 { |
int16_t ref_picture_id[kMaxVp9RefPics]; // PictureID of reference pictures. |
// SS data. |
- size_t num_spatial_layers; |
+ size_t num_spatial_layers; // Always populated. |
bool spatial_layer_resolution_present; |
uint16_t width[kMaxVp9NumberOfSpatialLayers]; |
uint16_t height[kMaxVp9NumberOfSpatialLayers]; |