| Index: webrtc/media/base/videoframe.h
|
| diff --git a/webrtc/media/base/videoframe.h b/webrtc/media/base/videoframe.h
|
| index 6aa434d79d6fc681e11943edd0e1719f6a2f7ef9..f61445bfe75948c4e965d72eae2caee91cf26a40 100644
|
| --- a/webrtc/media/base/videoframe.h
|
| +++ b/webrtc/media/base/videoframe.h
|
| @@ -45,6 +45,13 @@
|
| virtual int64_t timestamp_us() const = 0;
|
| virtual void set_timestamp_us(int64_t time_us) = 0;
|
|
|
| + // Deprecated methods, for backwards compatibility.
|
| + // TODO(nisse): Delete when usage in Chrome and other applications
|
| + // have been replaced.
|
| + virtual int64_t GetTimeStamp() const {
|
| + return rtc::kNumNanosecsPerMicrosec * timestamp_us();
|
| + }
|
| +
|
| // Indicates the rotation angle in degrees.
|
| virtual webrtc::VideoRotation rotation() const = 0;
|
|
|
|
|