Index: remoting/codec/video_decoder.h |
diff --git a/remoting/codec/video_decoder.h b/remoting/codec/video_decoder.h |
index f1eb650d10c7341ff2d5e4e5ac62a25201448e6f..d98e36faad4b626a849d402787e0dc6d8c66a1d4 100644 |
--- a/remoting/codec/video_decoder.h |
+++ b/remoting/codec/video_decoder.h |
@@ -68,6 +68,10 @@ class VideoDecoder { |
uint8* image_buffer, |
int image_stride, |
SkRegion* output_region) = 0; |
+ |
+ // Returns the "shape", if any, of the most recently rendered frame. |
+ // The shape is returned in source dimensions. |
+ virtual const SkRegion* GetImageShape() { return NULL; } |
Jamie
2013/06/20 21:15:57
Everything else here is pure virtual. Does this ne
Sergey Ulanov
2013/06/20 21:27:21
Can you use webrtc::DesktopRegion here instead of
alexeypa (please no reviews)
2013/06/20 22:05:11
Done.
alexeypa (please no reviews)
2013/06/20 22:05:11
I will not be able to do it today. We would really
|
}; |
} // namespace remoting |