Index: media/base/ipc/media_param_traits_macros.h |
diff --git a/media/base/ipc/media_param_traits_macros.h b/media/base/ipc/media_param_traits_macros.h |
index fff70465757d50906f51d6f211c393203306b657..41fa9a3f28868032c83b1380145d51a5318dc08a 100644 |
--- a/media/base/ipc/media_param_traits_macros.h |
+++ b/media/base/ipc/media_param_traits_macros.h |
@@ -22,6 +22,7 @@ |
#include "media/base/subsample_entry.h" |
#include "media/base/video_codecs.h" |
#include "media/base/video_types.h" |
+#include "media/capture/video/video_capture_device_descriptor.h" |
// Enum traits. |
@@ -95,4 +96,11 @@ IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry) |
IPC_STRUCT_TRAITS_MEMBER(cypher_bytes) |
IPC_STRUCT_TRAITS_END() |
+IPC_STRUCT_TRAITS_BEGIN(media::VideoCaptureDeviceDescriptor::CameraCalibration) |
+ IPC_STRUCT_TRAITS_MEMBER(focal_length_x) |
+ IPC_STRUCT_TRAITS_MEMBER(focal_length_y) |
+ IPC_STRUCT_TRAITS_MEMBER(depth_near) |
+ IPC_STRUCT_TRAITS_MEMBER(depth_far) |
+IPC_STRUCT_TRAITS_END() |
+ |
#endif // MEDIA_BASE_IPC_MEDIA_PARAM_TRAITS_MACROS_H_ |