Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7550eb2 authored by Andreas Huber's avatar Andreas Huber Committed by Gerrit Code Review
Browse files

Merge "Initialize and copy mRotationAngle in VideoFrame"

parents 031c93df 37007147
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -88,7 +88,8 @@ public:
class VideoFrame
class VideoFrame
{
{
public:
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) {
    VideoFrame(const VideoFrame& copy) {
        mWidth = copy.mWidth;
        mWidth = copy.mWidth;
@@ -105,6 +106,7 @@ public:
                mSize = 0;
                mSize = 0;
            }
            }
        }
        }
        mRotationAngle = copy.mRotationAngle;
    }
    }


    ~VideoFrame() {
    ~VideoFrame() {