Index: media/cast/video_sender/codecs/vp8/vp8_encoder.cc |
diff --git a/media/cast/video_sender/codecs/vp8/vp8_encoder.cc b/media/cast/video_sender/codecs/vp8/vp8_encoder.cc |
index 54852f06f48bc3650eb03b5906e2f27254f066b6..595a0cab1f955234c8c3194abf7b7eb7f388a685 100644 |
--- a/media/cast/video_sender/codecs/vp8/vp8_encoder.cc |
+++ b/media/cast/video_sender/codecs/vp8/vp8_encoder.cc |
@@ -11,6 +11,7 @@ |
#include "base/logging.h" |
#include "media/base/video_frame.h" |
#include "media/cast/cast_defines.h" |
+#include "media/cast/transport/cast_transport_config.h" |
#include "third_party/libvpx/source/libvpx/vpx/vp8cx.h" |
namespace media { |
@@ -127,7 +128,7 @@ void Vp8Encoder::InitEncode(int number_of_cores) { |
} |
bool Vp8Encoder::Encode(const scoped_refptr<media::VideoFrame>& video_frame, |
- EncodedVideoFrame* encoded_image) { |
+ transport::EncodedVideoFrame* encoded_image) { |
// Image in vpx_image_t format. |
// Input image is const. VP8's raw image is not defined as const. |
raw_image_->planes[PLANE_Y] = |
@@ -196,7 +197,7 @@ bool Vp8Encoder::Encode(const scoped_refptr<media::VideoFrame>& video_frame, |
if (total_size == 0) return true; |
// Populate the encoded frame. |
- encoded_image->codec = kVp8; |
+ encoded_image->codec = transport::kVp8; |
encoded_image->last_referenced_frame_id = latest_frame_id_to_reference; |
encoded_image->frame_id = ++last_encoded_frame_id_; |