diff options
Diffstat (limited to 'remoting/protocol/protobuf_video_writer.cc')
-rw-r--r-- | remoting/protocol/protobuf_video_writer.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/remoting/protocol/protobuf_video_writer.cc b/remoting/protocol/protobuf_video_writer.cc index 08e937b..7fd57c7 100644 --- a/remoting/protocol/protobuf_video_writer.cc +++ b/remoting/protocol/protobuf_video_writer.cc @@ -63,6 +63,11 @@ bool ProtobufVideoWriter::is_connected() { void ProtobufVideoWriter::ProcessVideoPacket(scoped_ptr<VideoPacket> packet, const base::Closure& done) { + // Older clients may expect deprecated flags field. Always set it to 7. + // + // TODO(sergeyu): Remove this field after M31 is released. + packet->set_deprecated_flags(7); + buffered_writer_.Write(SerializeAndFrameMessage(*packet), done); } |