summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2012-11-30 08:30:40 -0800
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-11-30 08:30:40 -0800
commite7550eb2805d864253f88ea2ced57014d6140e55 (patch)
tree6bab6250188cbc99313c9f068411daf074957a7b
parent031c93df74621dc2149876dc377aedee8930547f (diff)
parent37007147edde731cd3dc74febd7bb7e093a35020 (diff)
Merge "Initialize and copy mRotationAngle in VideoFrame"
-rw-r--r--include/private/media/VideoFrame.h4
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() {