diff options
Diffstat (limited to 'remoting/base/codec_test.cc')
-rw-r--r-- | remoting/base/codec_test.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/remoting/base/codec_test.cc b/remoting/base/codec_test.cc index 0521b52d..0c59659 100644 --- a/remoting/base/codec_test.cc +++ b/remoting/base/codec_test.cc @@ -81,6 +81,11 @@ class EncoderMessageTester { state_ = kWaitingForBeginRect; ++end_rect_; } + + if ((packet->flags() & VideoPacket::LAST_PARTITION) != 0) { + // LAST_PARTITION must always be marked with LAST_PACKET. + EXPECT_TRUE((packet->flags() & VideoPacket::LAST_PACKET) != 0); + } } } |