summaryrefslogtreecommitdiffstats
path: root/remoting/codec/video_encoder_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/codec/video_encoder_helper.cc')
-rw-r--r--remoting/codec/video_encoder_helper.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/remoting/codec/video_encoder_helper.cc b/remoting/codec/video_encoder_helper.cc
index b8e8d1e..d079162 100644
--- a/remoting/codec/video_encoder_helper.cc
+++ b/remoting/codec/video_encoder_helper.cc
@@ -44,19 +44,6 @@ VideoEncoderHelper::CreateVideoPacketWithUpdatedRegion(
dirty_rect->set_height(rect.height());
}
- // Record the shape of the frame, if specified.
- if (frame.shape()) {
- packet->set_use_desktop_shape(true);
- for (webrtc::DesktopRegion::Iterator r(*frame.shape());
- !r.IsAtEnd(); r.Advance()) {
- Rect* rect = packet->add_desktop_shape_rects();
- rect->set_x(r.rect().left());
- rect->set_y(r.rect().top());
- rect->set_width(r.rect().width());
- rect->set_height(r.rect().height());
- }
- }
-
// Store frame DPI.
if (!frame.dpi().is_zero()) {
packet->mutable_format()->set_x_dpi(frame.dpi().x());