diff options
author | Andreas Huber <andih@google.com> | 2012-11-30 08:30:40 -0800 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2012-11-30 08:30:40 -0800 |
commit | e7550eb2805d864253f88ea2ced57014d6140e55 (patch) | |
tree | 6bab6250188cbc99313c9f068411daf074957a7b | |
parent | 031c93df74621dc2149876dc377aedee8930547f (diff) | |
parent | 37007147edde731cd3dc74febd7bb7e093a35020 (diff) |
Merge "Initialize and copy mRotationAngle in VideoFrame"
-rw-r--r-- | include/private/media/VideoFrame.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/private/media/VideoFrame.h b/include/private/media/VideoFrame.h index 0ecc3481..a211ed94 100644 --- a/include/private/media/VideoFrame.h +++ b/include/private/media/VideoFrame.h @@ -88,7 +88,8 @@ public: class VideoFrame { public: - VideoFrame(): mWidth(0), mHeight(0), mDisplayWidth(0), mDisplayHeight(0), mSize(0), mData(0) {} + VideoFrame(): mWidth(0), mHeight(0), mDisplayWidth(0), mDisplayHeight(0), mSize(0), mData(0), + mRotationAngle(0) {} VideoFrame(const VideoFrame& copy) { mWidth = copy.mWidth; @@ -105,6 +106,7 @@ public: mSize = 0; } } + mRotationAngle = copy.mRotationAngle; } ~VideoFrame() { |