diff options
author | wez <wez@chromium.org> | 2015-07-20 14:04:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-20 21:04:36 +0000 |
commit | 92b86e3111c69766ce611b3ebdbd9195b9f32d9e (patch) | |
tree | f8375ed661f60a9ab17786444b5c0c790bacc012 | |
parent | 8428bc861cefbb245a8c3a44b4322d43e0d11af0 (diff) | |
download | chromium_src-92b86e3111c69766ce611b3ebdbd9195b9f32d9e.zip chromium_src-92b86e3111c69766ce611b3ebdbd9195b9f32d9e.tar.gz chromium_src-92b86e3111c69766ce611b3ebdbd9195b9f32d9e.tar.bz2 |
Clarify the semantics of |VideoPacket.use_desktop_shape|.
BUG=446288
Review URL: https://codereview.chromium.org/1240813004
Cr-Commit-Position: refs/heads/master@{#339516}
-rw-r--r-- | remoting/proto/video.proto | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/remoting/proto/video.proto b/remoting/proto/video.proto index 211b023..b2b1258 100644 --- a/remoting/proto/video.proto +++ b/remoting/proto/video.proto @@ -33,7 +33,6 @@ message VideoPacketFormat { optional int32 y_dpi = 9; } -// TODO(hclam): Remove this message once we can obtain dirty rects from libvpx. message Rect { optional int32 x = 1; optional int32 y = 2; @@ -59,9 +58,12 @@ message VideoPacket { // starting to capture this video frame. optional int64 latest_event_timestamp = 9; + // Provides the new shape for this frame, iff |use_desktop_shape| is true. repeated Rect desktop_shape_rects = 10; - // True when |desktop_shape_rects| should be used. + // True when |desktop_shape_rects| should be used, false to indicate that + // the frame is un-shaped. If the shape has not changed since the preceding + // frame then this field should be omitted. optional bool use_desktop_shape = 11; // Optional frame timestamp. Used in tests to estimate frame latency. |