Index: webrtc/modules/video_coding/include/video_codec_interface.h |
diff --git a/webrtc/modules/video_coding/include/video_codec_interface.h b/webrtc/modules/video_coding/include/video_codec_interface.h |
index 0bef7dacd052c6809e439316dcde2141aab575e2..4d536f6b7c67ac403564772a11c50ee9fa9248fd 100644 |
--- a/webrtc/modules/video_coding/include/video_codec_interface.h |
+++ b/webrtc/modules/video_coding/include/video_codec_interface.h |
@@ -80,6 +80,15 @@ union CodecSpecificInfoUnion { |
CodecSpecificInfoH264 H264; |
}; |
+struct StereoInfo { |
+ StereoInfo() : num_frames(0) {} |
+ VideoCodecType stereoCodecType; |
+ uint8_t num_frames; |
+ const EncodedImage* encoded_images[kMaxNumberOfStereoFrames]; |
+ const CodecSpecificInfo* codec_specific_infos[kMaxNumberOfStereoFrames]; |
+ const RTPFragmentationHeader* fragmentations[kMaxNumberOfStereoFrames]; |
+}; |
+ |
// Note: if any pointers are added to this struct or its sub-structs, it |
// must be fitted with a copy-constructor. This is because it is copied |
// in the copy-constructor of VCMEncodedFrame. |
@@ -88,6 +97,7 @@ struct CodecSpecificInfo { |
VideoCodecType codecType; |
const char* codec_name; |
CodecSpecificInfoUnion codecSpecific; |
+ StereoInfo stereoInfo; |
}; |
} // namespace webrtc |