Index: remoting/base/decoder.h |
diff --git a/remoting/base/decoder.h b/remoting/base/decoder.h |
index d932ff15c3aaab206506bf54e33feb08c5028161..53db3f12acd98d95323996f7eab36424b9f65335 100644 |
--- a/remoting/base/decoder.h |
+++ b/remoting/base/decoder.h |
@@ -57,11 +57,10 @@ class Decoder { |
virtual VideoPacketFormat::Encoding Encoding() = 0; |
- // Set the scale factors of the decoded output. If the decoder doesn't support |
- // scaling then this all is ignored. |
- // If both |horizontal_ratio| and |vertical_ratio| equal 1.0 then scaling is |
- // turned off. |
- virtual void SetScaleRatios(double horizontal_ratio, double vertical_ratio) {} |
+ // Set the output dimensions for the decoder. If the dimensions are empty |
+ // then the source is rendered without scaling. |
+ // Output dimensions are ignored if the decoder doesn't support scaling. |
+ virtual void SetOutputDimensions(const SkISize& size) {} |
// Set the clipping rectangle to the decoder. Decoder should respect this and |
// only output changes in this rectangle. The new clipping rectangle will be |